Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 817 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, lxml 6, pytestCheckHook 7, text-unidecode 8, xmlschema 9}: 10 11buildPythonPackage rec { 12 pname = "sepaxml"; 13 version = "2.6.1"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.6"; 17 18 src = fetchFromGitHub { 19 owner = "raphaelm"; 20 repo = "python-sepaxml"; 21 rev = version; 22 hash = "sha256-l5UMy0M3Ovzb6rcSAteGOnKdmBPHn4L9ZWY+YGOCn40="; 23 }; 24 25 propagatedBuildInputs = [ 26 text-unidecode 27 xmlschema 28 ]; 29 30 nativeCheckInputs = [ 31 lxml 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ 36 "sepaxml" 37 ]; 38 39 meta = with lib; { 40 description = "SEPA Direct Debit XML generation in python"; 41 homepage = "https://github.com/raphaelm/python-sepaxml/"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ elohmeier ]; 44 }; 45}