python3Packages.pyspcwebgw: init at 0.5.0
This commit is contained in:
parent
c9ebf4ed80
commit
d472c9d87c
46
pkgs/development/python-modules/pyspcwebgw/default.nix
Normal file
46
pkgs/development/python-modules/pyspcwebgw/default.nix
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, aioresponses
|
||||||
|
, asynccmd
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, requests
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyspcwebgw";
|
||||||
|
version = "0.5.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mbrrg";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0pc25myjc2adqcx2lbns9kw0gy17x1qjgicmfj46n6fn0c786p9v";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
asynccmd
|
||||||
|
aiohttp
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
aioresponses
|
||||||
|
pytest-asyncio
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pyspcwebgw" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module for the SPC Web Gateway REST API";
|
||||||
|
homepage = "https://github.com/mbrrg/pyspcwebgw";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -6893,6 +6893,8 @@ in {
|
|||||||
|
|
||||||
pysparse = callPackage ../development/python-modules/pysparse { };
|
pysparse = callPackage ../development/python-modules/pysparse { };
|
||||||
|
|
||||||
|
pyspcwebgw = callPackage ../development/python-modules/pyspcwebgw { };
|
||||||
|
|
||||||
pyspf = callPackage ../development/python-modules/pyspf { };
|
pyspf = callPackage ../development/python-modules/pyspf { };
|
||||||
|
|
||||||
pyspice = callPackage ../development/python-modules/pyspice { };
|
pyspice = callPackage ../development/python-modules/pyspice { };
|
||||||
|
Loading…
Reference in New Issue
Block a user