nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 lxml,
6 pytestCheckHook,
7 text-unidecode,
8 xmlschema,
9}:
10
11buildPythonPackage rec {
12 pname = "sepaxml";
13 version = "2.7.0";
14 format = "setuptools";
15
16 src = fetchFromGitHub {
17 owner = "raphaelm";
18 repo = "python-sepaxml";
19 rev = version;
20 hash = "sha256-SSkqHLP4I3C48209+89omWcD66QBJOjkUh+4qPNzOZ0=";
21 };
22
23 propagatedBuildInputs = [
24 text-unidecode
25 xmlschema
26 ];
27
28 nativeCheckInputs = [
29 lxml
30 pytestCheckHook
31 ];
32
33 pythonImportsCheck = [ "sepaxml" ];
34
35 meta = {
36 description = "SEPA Direct Debit XML generation in python";
37 homepage = "https://github.com/raphaelm/python-sepaxml/";
38 license = lib.licenses.mit;
39 };
40}