nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 865 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 requests, 6}: 7 8buildPythonPackage rec { 9 pname = "pythonegardia"; 10 version = "1.0.52"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "jeroenterheerdt"; 15 repo = "python-egardia"; 16 tag = "v${version}"; 17 sha256 = "sha256-lQ/7tH74MllwFe2kF5OcYSb4rQd+yJU1W6ztG4Z6Y0U="; 18 }; 19 20 propagatedBuildInputs = [ requests ]; 21 22 # Project has no tests, only two test file for manual interaction 23 doCheck = false; 24 25 pythonImportsCheck = [ "pythonegardia" ]; 26 27 meta = { 28 description = "Python interface with Egardia/Woonveilig alarms"; 29 homepage = "https://github.com/jeroenterheerdt/python-egardia"; 30 changelog = "https://github.com/jeroenterheerdt/python-egardia/releases/tag/v${version}"; 31 license = with lib.licenses; [ mit ]; 32 maintainers = with lib.maintainers; [ fab ]; 33 }; 34}