nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 51 lines 929 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, poetry-core 6, pythonOlder 7, xmltodict 8}: 9 10buildPythonPackage rec { 11 pname = "aiosteamist"; 12 version = "0.3.1"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "bdraco"; 19 repo = pname; 20 rev = version; 21 hash = "sha256-VoIJh3EDBPKmvEmM3gP2pyt/0oz4i6Y0zIkkprTcFLg="; 22 }; 23 24 nativeBuildInputs = [ 25 poetry-core 26 ]; 27 28 propagatedBuildInputs = [ 29 aiohttp 30 xmltodict 31 ]; 32 33 postPatch = '' 34 substituteInPlace pyproject.toml \ 35 --replace "--cov=aiosteamist" "" 36 ''; 37 38 pythonImportsCheck = [ 39 "aiosteamist" 40 ]; 41 42 # Modules doesn't have test suite 43 doCheck = false; 44 45 meta = with lib; { 46 description = "Module to control Steamist steam systems"; 47 homepage = "https://github.com/bdraco/aiosteamist"; 48 license = with licenses; [ asl20 ]; 49 maintainers = with maintainers; [ fab ]; 50 }; 51}