mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +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.
27 lines
536 B
Nix
27 lines
536 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, lxml
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "xmljson";
|
|
version = "0.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "b4158e66aa1e62ee39f7f80eb2fe4f767670ba3c0d5de9804420dc53427fdec8";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
lxml
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Converts XML into dictionary structures and vice-versa";
|
|
homepage = "https://github.com/sanand0/xmljson";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ rakesh4g ];
|
|
};
|
|
}
|