diff --git a/pkgs/development/libraries/sonic/default.nix b/pkgs/development/libraries/sonic/default.nix new file mode 100644 index 000000000000..f5927cb73e6c --- /dev/null +++ b/pkgs/development/libraries/sonic/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "sonic-${version}"; + version = "2016-03-01"; + + src = fetchFromGitHub { + owner = "waywardgeek"; + repo = "sonic"; + rev = "71bdf26c55716a45af50c667c0335a9519e952dd"; + sha256 = "1kcl8fdf92kafmfhvyjal5gvkn99brkjyzbi9gw3rd5b30m3xz2b"; + }; + + postPatch = '' + sed -i "s,^PREFIX=.*,PREFIX=$out," Makefile + ''; + + meta = with stdenv.lib; { + description = "Simple library to speed up or slow down speech"; + homepage = "https://github.com/waywardgeek/sonic"; + license = licenses.asl20; + maintainers = with maintainers; [ aske ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a2efa372ede6..b40a0432b26b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9418,6 +9418,8 @@ in sofia_sip = callPackage ../development/libraries/sofia-sip { }; + sonic = callPackage ../development/libraries/sonic { }; + soprano = callPackage ../development/libraries/soprano { }; soqt = callPackage ../development/libraries/soqt { };