summary refs log tree commit diff
path: root/pkgs/development/libraries/libbson
diff options
context:
space:
mode:
authorIan Duncan <ian@iankduncan.com>2015-08-22 18:08:04 -0400
committerBjørn Forsman <bjorn.forsman@gmail.com>2015-08-24 07:14:24 +0200
commitfd7144e45514844641b030fb2bcf365b32959a32 (patch)
tree1a182cd1e7e86a1340ddc860ee5e6d3204391a8e /pkgs/development/libraries/libbson
parentf1187c5b14c86fa05b4de990a1167be02ca4615f (diff)
downloadnixpkgs-fd7144e45514844641b030fb2bcf365b32959a32.tar
nixpkgs-fd7144e45514844641b030fb2bcf365b32959a32.tar.gz
nixpkgs-fd7144e45514844641b030fb2bcf365b32959a32.tar.bz2
nixpkgs-fd7144e45514844641b030fb2bcf365b32959a32.tar.lz
nixpkgs-fd7144e45514844641b030fb2bcf365b32959a32.tar.xz
nixpkgs-fd7144e45514844641b030fb2bcf365b32959a32.tar.zst
nixpkgs-fd7144e45514844641b030fb2bcf365b32959a32.zip
libbson: init at 1.1.10
[Bjørn: Remove trailing dot in description and unneeded parenthesis
around mkDerivation arguments.]
Diffstat (limited to 'pkgs/development/libraries/libbson')
-rw-r--r--pkgs/development/libraries/libbson/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libbson/default.nix b/pkgs/development/libraries/libbson/default.nix
new file mode 100644
index 00000000000..6d64df88d3f
--- /dev/null
+++ b/pkgs/development/libraries/libbson/default.nix
@@ -0,0 +1,23 @@
+{ autoconf, automake114x, fetchzip, libtool, perl, stdenv, which }:
+
+let
+  version = "1.1.10";
+in
+
+stdenv.mkDerivation rec {
+  name = "libbson-${version}";
+
+  src = fetchzip {
+    url = "https://github.com/mongodb/libbson/releases/download/${version}/libbson-${version}.tar.gz";
+    sha256 = "0zzca7zqvxf89fq7ji9626q8nnqyyh0dnmbk4xijzr9sq485xz0s";
+  };
+
+  buildInputs = [ autoconf automake114x libtool perl which ];
+
+  meta = with stdenv.lib; {
+    description = "A C Library for parsing, editing, and creating BSON documents";
+    homepage = "https://github.com/mongodb/libbson";
+    license = licenses.asl20;
+    platforms = platforms.all;
+  };
+}