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