summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorlethalman <lucabru@src.gnome.org>2015-07-04 13:22:27 +0200
committerlethalman <lucabru@src.gnome.org>2015-07-04 13:22:27 +0200
commit8722e5453e58026c7be50b3f19368d8906ee02f1 (patch)
tree0abeb3c6450097ef12489eab1ce68719ecec48ed /pkgs
parent07bdaa97da99d395b295ad506b27bb962552e49e (diff)
parent1969397eadb5097e6818514d7dacb043121b8359 (diff)
downloadnixlib-8722e5453e58026c7be50b3f19368d8906ee02f1.tar
nixlib-8722e5453e58026c7be50b3f19368d8906ee02f1.tar.gz
nixlib-8722e5453e58026c7be50b3f19368d8906ee02f1.tar.bz2
nixlib-8722e5453e58026c7be50b3f19368d8906ee02f1.tar.lz
nixlib-8722e5453e58026c7be50b3f19368d8906ee02f1.tar.xz
nixlib-8722e5453e58026c7be50b3f19368d8906ee02f1.tar.zst
nixlib-8722e5453e58026c7be50b3f19368d8906ee02f1.zip
Merge pull request #8584 from robbinch/pkg-python-atomiclong
python-packages: Add atomiclong.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/python-packages.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index f95b9c7047c2..c829e78d3c48 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -633,6 +633,27 @@ let
     };
   };
 
+  atomiclong = buildPythonPackage rec {
+    version = "0.1.1";
+    name = "atomiclong-${version}";
+
+    src = pkgs.fetchurl {
+      url = "https://pypi.python.org/packages/source/a/atomiclong/atomiclong-${version}.tar.gz";
+      sha256 = "1gjbc9lvpkgg8vj7dspif1gz9aq4flkhxia16qj6yvb7rp27h4yb";
+    };
+
+    buildInputs = with self; [ pytest ];
+    propagatedBuildInputs = with self; [ cffi ];
+
+    meta = {
+      description = "Long data type with atomic operations using CFFI";
+      homepage = https://github.com/dreid/atomiclong;
+      license = licenses.mit;
+      maintainers = with maintainers; [ robbinch ];
+    };
+
+  };
+
   atomicwrites = buildPythonPackage rec {
     version = "0.1.0";
     name = "atomicwrites-${version}";