aboutsummaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorLassulus <github@lassul.us>2020-08-22 17:37:52 +0200
committerGitHub <noreply@github.com>2020-08-22 17:37:52 +0200
commit0cb3d2667d052f08d747f45cc69fbfe1d62e57e4 (patch)
tree9b97d95e5224a8d43b08d45fd82c07f8d8aaff21 /pkgs
parentc6604ff00e925926b68fc945ce8b849f6d363bdd (diff)
parent678711641627fd0ea1c21f1780f17099c2beb229 (diff)
Merge pull request #88898 from michalrus/talentedhack
talentedhack: init at 1.86
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/audio/talentedhack/default.nix36
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/audio/talentedhack/default.nix b/pkgs/applications/audio/talentedhack/default.nix
new file mode 100644
index 000000000000..b30cf59f7b30
--- /dev/null
+++ b/pkgs/applications/audio/talentedhack/default.nix
@@ -0,0 +1,36 @@
+{ stdenv, fetchFromGitHub, lv2, fftwFloat, pkgconfig }:
+
+stdenv.mkDerivation rec {
+ pname = "talentedhack";
+ version = "1.86";
+
+ src = fetchFromGitHub {
+ owner = "jeremysalwen";
+ repo = "talentedhack";
+ rev = "v${version}";
+ sha256 = "0kwvayalysmk7y49jq0k16al252md8d45z58hphzsksmyz6148bx";
+ };
+
+ nativeBuildInputs = [ pkgconfig ];
+
+ buildInputs = [ lv2 fftwFloat ];
+
+ # To avoid name clashes, plugins should be compiled with symbols hidden, except for `lv2_descriptor`:
+ preConfigure = ''
+ sed -r 's/^CFLAGS.*$/\0 -fvisibility=hidden/' -i Makefile
+ '';
+
+ installPhase = ''
+ d=$out/lib/lv2/talentedhack.lv2
+ mkdir -p $d
+ cp *.so *.ttl $d
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "https://github.com/jeremysalwen/TalentedHack";
+ description = "LV2 port of Autotalent pitch correction plugin";
+ license = licenses.gpl3;
+ maintainers = [ maintainers.michalrus ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 92467c0cf7f2..a0dde9e8676c 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -23008,6 +23008,8 @@ in
inherit (darwin.apple_sdk.frameworks) Security;
};
+ talentedhack = callPackage ../applications/audio/talentedhack { };
+
tambura = callPackage ../applications/audio/tambura { };
tamgamp.lv2 = callPackage ../applications/audio/tamgamp.lv2 { };