pythonPackages.bitstring: move to python-modules/

Easier maintenance when expressions are in separate files.
This commit is contained in:
Bjørn Forsman 2017-10-29 11:40:45 +01:00
parent 0b93dbe9d6
commit b1e23a87b1
2 changed files with 22 additions and 20 deletions

View File

@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "bitstring";
version = "3.1.5";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1algq30j6rz12b1902bpw7iijx5lhrfqhl80d4ac6xzkrrpshqy1";
extension = "zip";
};
meta = with stdenv.lib; {
description = "Module for binary data manipulation";
homepage = "https://github.com/scott-griffiths/bitstring";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ bjornfor ];
};
}

View File

@ -1940,26 +1940,7 @@ in {
};
};
bitstring = buildPythonPackage rec {
pname = "bitstring";
version = "3.1.5";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1algq30j6rz12b1902bpw7iijx5lhrfqhl80d4ac6xzkrrpshqy1";
extension = "zip";
};
meta = {
description = "Module for binary data manipulation";
homepage = "https://github.com/scott-griffiths/bitstring";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ bjornfor ];
};
};
bitstring = callPackage ../development/python-modules/bitstring { };
blaze = callPackage ../development/python-modules/blaze { };