python-mccabe: 0.5.3 -> 0.6.1

This commit is contained in:
Daiderd Jordan 2017-05-11 23:02:10 +02:00
parent 00df7774e8
commit af14949b08
No known key found for this signature in database
GPG key ID: D02435D05B810C96
2 changed files with 22 additions and 17 deletions

View 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 ];
};
}

View file

@ -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";