pythonPackages.atomiclong: Move to own file
This commit is contained in:
parent
0ddbc518eb
commit
258fee9987
21
pkgs/development/python-modules/atomiclong/default.nix
Normal file
21
pkgs/development/python-modules/atomiclong/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytest, cffi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "atomiclong";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1gjbc9lvpkgg8vj7dspif1gz9aq4flkhxia16qj6yvb7rp27h4yb";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ cffi ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Long data type with atomic operations using CFFI";
|
||||
homepage = https://github.com/dreid/atomiclong;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ robbinch ];
|
||||
};
|
||||
}
|
@ -555,25 +555,7 @@ in {
|
||||
|
||||
asn1ate = callPackage ../development/python-modules/asn1ate { };
|
||||
|
||||
atomiclong = buildPythonPackage rec {
|
||||
version = "0.1.1";
|
||||
name = "atomiclong-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/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 ];
|
||||
};
|
||||
|
||||
};
|
||||
atomiclong = callPackage ../development/python-modules/atomiclong { };
|
||||
|
||||
atomicwrites = buildPythonPackage rec {
|
||||
version = "0.1.9";
|
||||
|
Loading…
Reference in New Issue
Block a user