python3Packages.aiosteamist: init at 0.3.1
This commit is contained in:
parent
4d0e250a0c
commit
fa88647993
51
pkgs/development/python-modules/aiosteamist/default.nix
Normal file
51
pkgs/development/python-modules/aiosteamist/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pythonOlder
|
||||
, xmltodict
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiosteamist";
|
||||
version = "0.3.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bdraco";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-VoIJh3EDBPKmvEmM3gP2pyt/0oz4i6Y0zIkkprTcFLg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
xmltodict
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "--cov=aiosteamist" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiosteamist"
|
||||
];
|
||||
|
||||
# Modules doesn't have test suite
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to control Steamist steam systems";
|
||||
homepage = "https://github.com/bdraco/aiosteamist";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -408,6 +408,8 @@ in {
|
||||
|
||||
aiosqlite = callPackage ../development/python-modules/aiosqlite { };
|
||||
|
||||
aiosteamist = callPackage ../development/python-modules/aiosteamist { };
|
||||
|
||||
aiostream = callPackage ../development/python-modules/aiostream { };
|
||||
|
||||
aioswitcher = callPackage ../development/python-modules/aioswitcher { };
|
||||
|
Loading…
Reference in New Issue
Block a user