diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-24 14:48:36 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2021-04-03 17:49:44 +0200 |
commit | ce3f8f594ff104da459c2080a4c6df7f3494df3e (patch) | |
tree | 4d8ce5b4a6aea5786e25799017ce6917a81ab423 /pkgs/development/python-modules/pyroma | |
parent | 26d5131fc8a5fe87146f9805f503c041d2fba7e8 (diff) |
python2Packages.pyroma: keep 2.6.1
Diffstat (limited to 'pkgs/development/python-modules/pyroma')
-rw-r--r-- | pkgs/development/python-modules/pyroma/2.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyroma/2.nix b/pkgs/development/python-modules/pyroma/2.nix new file mode 100644 index 0000000000000..9fee5ec56c0e6 --- /dev/null +++ b/pkgs/development/python-modules/pyroma/2.nix @@ -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; + }; +} |