Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 26 lines 607 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, docutils, pygments, setuptools 3}: 4 5buildPythonPackage rec { 6 pname = "pyroma"; 7 version = "3.1"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "45ad8201da9a813b5597bb85c80bbece93af9ec89170fc2be5ad85fa9463cef1"; 12 }; 13 14 postPatch = '' 15 substituteInPlace setup.py \ 16 --replace "pygments < 2.6" "pygments" 17 ''; 18 19 propagatedBuildInputs = [ docutils pygments setuptools ]; 20 21 meta = with lib; { 22 description = "Test your project's packaging friendliness"; 23 homepage = "https://github.com/regebro/pyroma"; 24 license = licenses.mit; 25 }; 26}