forked from mirrors/nixpkgs
python3Packages.classify-imports: init at 4.1.0
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
parent
f039e591e2
commit
6c6dd0e32b
34
pkgs/development/python-modules/classify-imports/default.nix
Normal file
34
pkgs/development/python-modules/classify-imports/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "classify-imports";
|
||||
version = "4.1.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "asottile";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-w/+Sf2ZVSDmFNPICJfAKzfukcznWyFBhi7hjIELtYGI=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"classify_imports"
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities for refactoring imports in python-like syntax";
|
||||
homepage = "https://github.com/asottile/classify-imports";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ gador ];
|
||||
};
|
||||
}
|
|
@ -1706,6 +1706,8 @@ in {
|
|||
|
||||
claripy = callPackage ../development/python-modules/claripy { };
|
||||
|
||||
classify-imports = callPackage ../development/python-modules/classify-imports { };
|
||||
|
||||
cld2-cffi = callPackage ../development/python-modules/cld2-cffi { };
|
||||
|
||||
cle = callPackage ../development/python-modules/cle { };
|
||||
|
|
Loading…
Reference in a new issue