summary refs log tree commit diff
path: root/pkgs/development/libraries/sonic
diff options
context:
space:
mode:
authoraske <aske@fmap.me>2016-09-05 02:37:52 +0300
committeraske <aske@fmap.me>2016-09-05 03:33:41 +0300
commit48884e06ccd6867406d27a912960a3642b9c7415 (patch)
tree5cfb771cd406d2762c8a3200f0d79078543e8244 /pkgs/development/libraries/sonic
parentd6936f47db661e77404577ae19adee69abd56109 (diff)
downloadnixpkgs-48884e06ccd6867406d27a912960a3642b9c7415.tar
nixpkgs-48884e06ccd6867406d27a912960a3642b9c7415.tar.gz
nixpkgs-48884e06ccd6867406d27a912960a3642b9c7415.tar.bz2
nixpkgs-48884e06ccd6867406d27a912960a3642b9c7415.tar.lz
nixpkgs-48884e06ccd6867406d27a912960a3642b9c7415.tar.xz
nixpkgs-48884e06ccd6867406d27a912960a3642b9c7415.tar.zst
nixpkgs-48884e06ccd6867406d27a912960a3642b9c7415.zip
sonic: init at 2016-03-01
Diffstat (limited to 'pkgs/development/libraries/sonic')
-rw-r--r--pkgs/development/libraries/sonic/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/libraries/sonic/default.nix b/pkgs/development/libraries/sonic/default.nix
new file mode 100644
index 00000000000..f5927cb73e6
--- /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;
+  };
+}