From 1969397eadb5097e6818514d7dacb043121b8359 Mon Sep 17 00:00:00 2001 From: Robbin C Date: Wed, 1 Jul 2015 18:45:22 +0800 Subject: [PATCH] atomiclong: init at 0.1.1. --- pkgs/top-level/python-packages.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index bfe21546f5a..304f1f44ad4 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}";