nixpkgs/pkgs/development/python-modules/jxmlease/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
725 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
lxml,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "jxmlease";
version = "1.0.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "17l3w3ak07p72s8kv8hg0ilxs0kkxjn7bfwnl3g2cw58v1siab31";
};
propagatedBuildInputs = [ lxml ];
# tests broken in expat bump
# https://github.com/Juniper/jxmlease/issues/26
doCheck = false;
nativeCheckInputs = [ unittestCheckHook ];
unittestFlagsArray = [ "-v" ];
meta = with lib; {
description = "Converts between XML and intelligent Python data structures";
homepage = "https://github.com/Juniper/jxmlease";
license = licenses.mit;
maintainers = [ ];
};
}