diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2013-02-18 22:12:11 +0100 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2013-02-18 22:12:24 +0100 |
commit | 9aa47b62b63007aeb331bac0457b036acf40fc82 (patch) | |
tree | 626eade4919d5b3c040f920aa768105f35fa3669 /pkgs | |
parent | f81dbf4893a889ba6e6885b461ed47635e4aab7d (diff) |
Adding snappy 1.1.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/snappy/default.nix | 23 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/libraries/snappy/default.nix b/pkgs/development/libraries/snappy/default.nix new file mode 100644 index 000000000000..04e0897207f3 --- /dev/null +++ b/pkgs/development/libraries/snappy/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "snappy-1.1.0"; + + src = fetchurl { + url = "http://snappy.googlecode.com/files/${name}.tar.gz"; + sha256 = "0q31cx3zkw0apx1fy8z3xlh2lvivssvykqn0vxsgm4xvi32jpa0z"; + }; + + # -DNDEBUG for speed + preConfigure = '' + configureFlagsArray=("CXXFLAGS=-DNDEBUG -O2") + ''; + + doCheck = true; + + meta = { + homepage = http://code.google.com/p/snappy/ + license = "BSD" + description = "Compression/decompression library for very high speeds"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f85f88285232..7a4e5d0184a9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4964,6 +4964,8 @@ let # optional }; + snappy = callPackage ../development/libraries/snappy { }; + sofia_sip = callPackage ../development/libraries/sofia-sip { }; soprano = callPackage ../development/libraries/soprano { }; |