nixpkgs/pkgs/development/python-modules/pyproject-parser/default.nix
Peder Bergebakken Sundt d6ca5ed287 treewide: remove empty build inputs
Done with

```sh
regex='\s*(nativeBuild|build|check|nativeCheck)Inputs *= *\[ *\];'
rg "^$regex$" -l | xe sd "\n\n$regex\n" "\n"
rg "^$regex$" -l | xe sd "\n$regex\n" "\n"
rg "^$regex$" -l | xe sd "\n$regex\n" "\n"
```
2024-10-04 19:03:59 +02:00

49 lines
949 B
Nix
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
buildPythonPackage,
fetchPypi,
lib,
setuptools,
apeye-core,
attrs,
dom-toml,
domdf-python-tools,
natsort,
packaging,
shippinglabel,
typing-extensions,
}:
buildPythonPackage rec {
pname = "pyproject-parser";
version = "0.11.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-0ejtu6OlSA6w/z/+j2lDuikFGZh4r/HLBZhJAKZhggE=";
};
build-system = [ setuptools ];
dependencies = [
apeye-core
attrs
dom-toml
domdf-python-tools
natsort
packaging
shippinglabel
typing-extensions
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail '"setuptools!=61.*,<=67.1.0,>=40.6.0"' '"setuptools"'
'';
meta = {
description = "Parser for pyproject.toml";
homepage = "https://github.com/repo-helper/pyproject-parser";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tyberius-prime ];
};
}