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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
811 B
Nix
Raw Normal View History

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