nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 814 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 requests, 6 setuptools, 7 xmltodict, 8}: 9 10buildPythonPackage rec { 11 pname = "pysecuritas"; 12 version = "0.1.6"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-W3DLZCXUH9y5NPipFEu6URmKN+oVXMgeDF1rfKtxRng="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 dependencies = [ 23 xmltodict 24 requests 25 ]; 26 27 # Project doesn't ship tests with PyPI releases 28 # https://github.com/Cebeerre/pysecuritas/issues/13 29 doCheck = false; 30 31 pythonImportsCheck = [ "pysecuritas" ]; 32 33 meta = { 34 description = "Python client to access Securitas Direct Mobile API"; 35 homepage = "https://github.com/Cebeerre/pysecuritas"; 36 license = lib.licenses.mit; 37 maintainers = with lib.maintainers; [ fab ]; 38 mainProgram = "pysecuritas"; 39 }; 40}