nixpkgs/pkgs/development/python-modules/sepaxml/default.nix

46 lines
813 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
2019-08-01 22:28:44 +02:00
, lxml
, pytestCheckHook
2019-08-01 22:28:44 +02:00
, text-unidecode
, xmlschema
}:
2018-12-20 18:45:23 +01:00
buildPythonPackage rec {
pname = "sepaxml";
version = "2.4.1";
format = "setuptools";
disabled = pythonOlder "3.6";
2018-12-20 18:45:23 +01:00
2019-08-01 22:28:44 +02:00
src = fetchFromGitHub {
owner = "raphaelm";
repo = "python-sepaxml";
rev = version;
sha256 = "sha256-Up6zHm20tc6+lQk958csdgC4FMJFhdt+oAJcNcVbcjk=";
2018-12-20 18:45:23 +01:00
};
2019-08-01 22:28:44 +02:00
propagatedBuildInputs = [
text-unidecode
xmlschema
];
checkInputs = [
pytestCheckHook
lxml
];
2019-08-01 22:28:44 +02:00
pythonImportsCheck = [
"sepaxml"
];
2018-12-20 18:45:23 +01:00
meta = with lib; {
2018-12-20 18:45:23 +01:00
description = "SEPA Direct Debit XML generation in python";
homepage = "https://github.com/raphaelm/python-sepaxml/";
2018-12-20 18:45:23 +01:00
license = licenses.mit;
maintainers = with maintainers; [ elohmeier ];
};
}