nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at haskell-updates 41 lines 875 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 jsonschema, 6 pytestCheckHook, 7 requests, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "rachiopy"; 13 version = "1.1.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "rfverbruggen"; 18 repo = "rachiopy"; 19 tag = version; 20 hash = "sha256-PsdEXNy8vUxba/C00ARhLTQU9gMlChy9XdU20r+Maus="; 21 }; 22 23 nativeBuildInputs = [ setuptools ]; 24 25 propagatedBuildInputs = [ requests ]; 26 27 nativeCheckInputs = [ 28 jsonschema 29 pytestCheckHook 30 ]; 31 32 pythonImportsCheck = [ "rachiopy" ]; 33 34 meta = { 35 description = "Python client for Rachio Irrigation controller"; 36 homepage = "https://github.com/rfverbruggen/rachiopy"; 37 changelog = "https://github.com/rfverbruggen/rachiopy/releases/tag/${version}"; 38 license = with lib.licenses; [ mit ]; 39 maintainers = with lib.maintainers; [ fab ]; 40 }; 41}