nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 766 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 setuptools, 7 wheel, 8}: 9 10buildPythonPackage rec { 11 pname = "pyyardian"; 12 version = "1.2.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "h3l1o5"; 17 repo = "pyyardian"; 18 tag = version; 19 hash = "sha256-JBb62pFDuVcXIGRc6UOp5/ciUtbGm4XnKZjt1icF/jQ="; 20 }; 21 22 nativeBuildInputs = [ 23 setuptools 24 wheel 25 ]; 26 27 propagatedBuildInputs = [ aiohttp ]; 28 29 # Tests require network access 30 doCheck = false; 31 32 pythonImportsCheck = [ "pyyardian" ]; 33 34 meta = { 35 description = "Module for interacting with the Yardian irrigation controller"; 36 homepage = "https://github.com/h3l1o5/pyyardian"; 37 license = lib.licenses.mit; 38 maintainers = with lib.maintainers; [ fab ]; 39 }; 40}