git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.dict2xml: clean-up, add pythonImportsCheck
commit82d9580185508308296b1e16e77d2fd478af208b authorFabian Affolter <mail@fabian-affolter.ch> dateThu 17 Feb 2022, 09:30 (5 years ago) parent2d2d6d9
1 file changed+13−4
pkgs/development/python-modules/dict2xml/default.nix+13−4
pkgs/development/python-modules/dict2xml/default.nix+13−4
@@ -1,18 +1,27 @@
1−{ lib, fetchPypi, buildPythonPackage, six }:
1+{ lib
2+, fetchPypi
3+, buildPythonPackage
4+, pythonOlder
5+}:
26
37buildPythonPackage rec {
48 pname = "dict2xml";
59 version = "1.7.1";
10+ format = "setuptools";
11+
12+ disabled = pythonOlder "3.7";
613
714 src = fetchPypi {
815 inherit pname version;
9− sha256 = "sha256-ZgCqMx8X7uODNhH3GJmkOnZhLKdVoVdpzyBJLEsaoBY=";
16+ hash = "sha256-ZgCqMx8X7uODNhH3GJmkOnZhLKdVoVdpzyBJLEsaoBY=";
1017 };
1118
12− propagatedBuildInputs = [ six ];
19+ pythonImportsCheck = [
20+ "dict2xml"
21+ ];
1322
1423 meta = with lib; {
15− description = "Super simple library to convert a Python dictionary into an xml string";
24+ description = "Library to convert a Python dictionary into an XML string";
1625 homepage = "https://github.com/delfick/python-dict2xml";
1726 license = licenses.mit;
1827 maintainers = with maintainers; [ johnazoidberg ];