9405df4a82
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
26 lines
607 B
Nix
26 lines
607 B
Nix
{ lib, buildPythonPackage, fetchPypi
|
|
, docutils, pygments, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyroma";
|
|
version = "3.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "45ad8201da9a813b5597bb85c80bbece93af9ec89170fc2be5ad85fa9463cef1";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|