Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 48 lines 949 B view raw
1{ 2 buildPythonPackage, 3 fetchPypi, 4 lib, 5 setuptools, 6 apeye-core, 7 attrs, 8 dom-toml, 9 domdf-python-tools, 10 natsort, 11 packaging, 12 shippinglabel, 13 typing-extensions, 14}: 15buildPythonPackage rec { 16 pname = "pyproject-parser"; 17 version = "0.11.1"; 18 pyproject = true; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-0ejtu6OlSA6w/z/+j2lDuikFGZh4r/HLBZhJAKZhggE="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 apeye-core 29 attrs 30 dom-toml 31 domdf-python-tools 32 natsort 33 packaging 34 shippinglabel 35 typing-extensions 36 ]; 37 postPatch = '' 38 substituteInPlace pyproject.toml \ 39 --replace-fail '"setuptools!=61.*,<=67.1.0,>=40.6.0"' '"setuptools"' 40 ''; 41 42 meta = { 43 description = "Parser for pyproject.toml"; 44 homepage = "https://github.com/repo-helper/pyproject-parser"; 45 license = lib.licenses.mit; 46 maintainers = with lib.maintainers; [ tyberius-prime ]; 47 }; 48}