nixpkgs/pkgs/development/python-modules/datamodeldict/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

36 lines
726 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
xmltodict,
}:
buildPythonPackage rec {
pname = "datamodeldict";
version = "0.9.9";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "DataModelDict";
inherit version;
hash = "sha256-DadBRsc8qEu9PWgMNllGS2ESKL7kgBLDhg4yDr87WRk=";
};
propagatedBuildInputs = [ xmltodict ];
# no tests
doCheck = false;
pythonImportsCheck = [ "DataModelDict" ];
meta = with lib; {
description = "Class allowing for data models equivalently represented as Python dictionaries, JSON, and XML";
homepage = "https://github.com/usnistgov/DataModelDict/";
license = licenses.mit;
maintainers = [ ];
};
}