Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 37 lines 732 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub, isPy27 2, lxml 3, pytest 4, text-unidecode 5, xmlschema 6}: 7 8buildPythonPackage rec { 9 version = "2.2.0"; 10 pname = "sepaxml"; 11 disabled = isPy27; 12 13 src = fetchFromGitHub { 14 owner = "raphaelm"; 15 repo = "python-sepaxml"; 16 rev = version; 17 sha256 = "1qmgdcz61hs65m2fddwn9jpyk2sxifdb0f3jz1n0lgy774z0pmas"; 18 }; 19 20 propagatedBuildInputs = [ 21 text-unidecode 22 xmlschema 23 ]; 24 25 checkInputs = [ pytest lxml ]; 26 27 checkPhase = '' 28 pytest 29 ''; 30 31 meta = with lib; { 32 homepage = "https://github.com/raphaelm/python-sepaxml/"; 33 description = "SEPA Direct Debit XML generation in python"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ elohmeier ]; 36 }; 37}