nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 45 lines 905 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pytest-mock, 7 pytestCheckHook, 8 requests, 9 retry2, 10}: 11 12buildPythonPackage rec { 13 pname = "zeversolar"; 14 version = "0.3.2"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "kvanzuijlen"; 19 repo = "zeversolar"; 20 tag = version; 21 hash = "sha256-HnF21B7k2MmugMjGIF2EKwwXJWD/WdDvPdz1oaPSS5Y="; 22 }; 23 24 build-system = [ poetry-core ]; 25 26 dependencies = [ 27 requests 28 retry2 29 ]; 30 31 nativeCheckInputs = [ 32 pytest-mock 33 pytestCheckHook 34 ]; 35 36 pythonImportsCheck = [ "zeversolar" ]; 37 38 meta = { 39 description = "Module to interact with the local CGI provided by ZeverSolar"; 40 homepage = "https://github.com/kvanzuijlen/zeversolar"; 41 changelog = "https://github.com/kvanzuijlen/zeversolar/releases/tag/${version}"; 42 license = lib.licenses.asl20; 43 maintainers = with lib.maintainers; [ fab ]; 44 }; 45}