Merge pull request #85176 from timokau/zimports-init

python.pkgs.zimports: init at 0.2.0
This commit is contained in:
Timo Kaufmann 2020-04-17 09:43:12 +00:00 committed by GitHub
commit 42ca7c114e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ lib
, isPy3k
, fetchFromGitHub
, buildPythonPackage
, flake8-import-order
, pyflakes
, mock
}:
buildPythonPackage rec {
pname = "zimports";
version = "0.2.0";
src = fetchFromGitHub {
owner = "sqlalchemyorg";
repo = "zimports";
rev = version;
sha256 = "0a5axflkk0wv0rdnrh8l2rgj8gh2pfkg5lrvr8x4yxxiifawrafc";
};
disabled = !isPy3k;
propagatedBuildInputs = [
pyflakes
flake8-import-order
];
checkInputs = [
mock
];
meta = with lib; {
description = "Python import rewriter";
homepage = "https://github.com/sqlalchemyorg/zimports";
license = licenses.mit;
maintainers = with maintainers; [ timokau ];
};
}

View File

@ -6012,6 +6012,8 @@ in {
zerorpc = callPackage ../development/python-modules/zerorpc { };
zimports = callPackage ../development/python-modules/zimports { };
zipstream = callPackage ../development/python-modules/zipstream { };
zodb = callPackage ../development/python-modules/zodb {};