mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-12-02 10:50:09 +00:00
37 lines
752 B
Nix
37 lines
752 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
lxml,
|
|
unittestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "jxmlease";
|
|
version = "1.0.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "jxmlease";
|
|
inherit (finalAttrs) version;
|
|
hash = "sha256-YSwVddiocCbeoJa7dazscwLdaQQPoj2RFuceMNXgg54=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ lxml ];
|
|
|
|
# tests broken in expat bump
|
|
# https://github.com/Juniper/jxmlease/issues/26
|
|
doCheck = false;
|
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
|
|
|
unittestFlags = [ "-v" ];
|
|
|
|
meta = {
|
|
description = "Converts between XML and intelligent Python data structures";
|
|
homepage = "https://github.com/Juniper/jxmlease";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
})
|