python2Packages.pyroma: keep 2.6.1
This commit is contained in:
parent
26d5131fc8
commit
ce3f8f594f
26
pkgs/development/python-modules/pyroma/2.nix
Normal file
26
pkgs/development/python-modules/pyroma/2.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi
|
||||||
|
, docutils, pygments, setuptools
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyroma";
|
||||||
|
version = "2.6.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "2527423e3a24ccd56951f3ce1b0ebbcc4fa0518c82fca882e696c78726ab9c2f";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "pygments < 2.6" "pygments"
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ docutils pygments setuptools ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Test your project's packaging friendliness";
|
||||||
|
homepage = "https://github.com/regebro/pyroma";
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -165,6 +165,8 @@ with self; with super; {
|
|||||||
|
|
||||||
pylint = callPackage ../development/python-modules/pylint/1.9.nix { };
|
pylint = callPackage ../development/python-modules/pylint/1.9.nix { };
|
||||||
|
|
||||||
|
pyroma = callPackage ../development/python-modules/pyroma/2.nix { };
|
||||||
|
|
||||||
pytest = pytest_4;
|
pytest = pytest_4;
|
||||||
|
|
||||||
pytest-mock = callPackage ../development/python-modules/pytest-mock/2.nix { };
|
pytest-mock = callPackage ../development/python-modules/pytest-mock/2.nix { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user