python-mccabe: 0.5.3 -> 0.6.1
This commit is contained in:
parent
00df7774e8
commit
af14949b08
2 changed files with 22 additions and 17 deletions
21
pkgs/development/python-modules/mccabe/default.nix
Normal file
21
pkgs/development/python-modules/mccabe/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestrunner }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "mccabe";
|
||||
version = "0.6.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "07w3p1qm44hgxf3vvwz84kswpsx6s7kvaibzrsx5dzm0hli1i3fx";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest pytestrunner ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "McCabe checker, plugin for flake8";
|
||||
homepage = "https://github.com/flintwork/mccabe";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ garbas ];
|
||||
};
|
||||
}
|
|
@ -13955,23 +13955,7 @@ in {
|
|||
};
|
||||
|
||||
|
||||
mccabe = buildPythonPackage (rec {
|
||||
name = "mccabe-0.5.3";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/m/mccabe/${name}.tar.gz";
|
||||
sha256 = "16293af41e7242031afd73896fef6458f4cad38201d21e28f344fff50ae1c25e";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ pytestrunner pytest ];
|
||||
|
||||
meta = {
|
||||
description = "McCabe checker, plugin for flake8";
|
||||
homepage = "https://github.com/flintwork/mccabe";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ garbas ];
|
||||
};
|
||||
});
|
||||
mccabe = callPackage ../development/python-modules/mccabe { };
|
||||
|
||||
mechanize = buildPythonPackage (rec {
|
||||
name = "mechanize-0.2.5";
|
||||
|
|
Loading…
Reference in a new issue