mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 18:44:07 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
36 lines
722 B
Nix
36 lines
722 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, lxml
|
|
, unittestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jxmlease";
|
|
version = "1.0.3";
|
|
|
|
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 = with maintainers; [ hexa ];
|
|
};
|
|
}
|