Files
nixpkgs/pkgs/development/python-modules/dom-toml/default.nix
T
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

37 lines
699 B
Nix

{
buildPythonPackage,
fetchPypi,
lib,
flit-core,
setuptools,
domdf-python-tools,
tomli,
}:
buildPythonPackage rec {
pname = "dom-toml";
version = "2.0.0";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "dom_toml";
hash = "sha256-PAfoQ2U4mUl0Ensa4DdmHRp3mskVxE/Qazq1/hQP9Yk=";
};
build-system = [ flit-core ];
nativeBuildInputs = [ setuptools ];
dependencies = [
domdf-python-tools
tomli
];
meta = {
description = "Dom's tools for Tom's Obvious, Minimal Language.";
homepage = "https://github.com/domdfcoding/dom_toml";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tyberius-prime ];
};
}