1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs/development/python-modules/pyroma/default.nix

27 lines
609 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi
2020-04-10 20:40:18 +01:00
, docutils, pygments, setuptools
}:
buildPythonPackage rec {
pname = "pyroma";
2021-02-20 09:09:14 +00:00
version = "2.6.1";
2020-04-10 20:40:18 +01:00
src = fetchPypi {
inherit pname version;
2021-02-20 09:09:14 +00:00
sha256 = "2527423e3a24ccd56951f3ce1b0ebbcc4fa0518c82fca882e696c78726ab9c2f";
2020-04-10 20:40:18 +01:00
};
postPatch = ''
substituteInPlace setup.py \
--replace "pygments < 2.6" "pygments"
'';
2020-04-10 20:40:18 +01:00
propagatedBuildInputs = [ docutils pygments setuptools ];
meta = with lib; {
2020-04-10 20:40:18 +01:00
description = "Test your project's packaging friendliness";
homepage = "https://github.com/regebro/pyroma";
license = licenses.mit;
};
}