diff --git a/pkgs/applications/audio/shntool/default.nix b/pkgs/applications/audio/shntool/default.nix new file mode 100644 index 000000000000..68fb8bfb1423 --- /dev/null +++ b/pkgs/applications/audio/shntool/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, flac }: + +stdenv.mkDerivation rec { + version = "3.0.10"; + name = "shntool-${version}"; + + src = fetchurl { + url = http://www.etree.org/shnutils/shntool/dist/src/shntool-3.0.10.tar.gz; + sha256 = "00i1rbjaaws3drkhiczaign3lnbhr161b7rbnjr8z83w8yn2wc3l"; + }; + + buildInputs = [ flac ]; + + meta = { + description = "multi-purpose WAVE data processing and reporting utility"; + homepage = http://www.etree.org/shnutils/shntool/; + license = "GPLv2+"; + platforms = with stdenv.lib.platforms; linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1e269b6f97d5..bb35ee95dd64 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7762,6 +7762,8 @@ let guile = guile_1_8; }; + shntool = callPackage ../applications/audio/shntool { }; + sonic_visualiser = callPackage ../applications/audio/sonic-visualiser { inherit (pkgs.vamp) vampSDK; inherit (pkgs.xlibs) libX11;