ma ham: add deps
This commit is contained in:
parent
da0ab68232
commit
cacc5ca523
38
makefu/2configs/ham/deps/dwdwfsapi.nix
Normal file
38
makefu/2configs/ham/deps/dwdwfsapi.nix
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, requests
|
||||||
|
, ciso8601
|
||||||
|
, urllib3
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "dwdwfsapi";
|
||||||
|
version = "1.0.3";
|
||||||
|
|
||||||
|
disabled = false; # requires python version >=3.6
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "3d7d5bd66b1a647f07295068dc653b4ceafc2e8ec834b8e32419031c7b3a9b39";
|
||||||
|
};
|
||||||
|
|
||||||
|
# # Package conditions to handle
|
||||||
|
# # might have to sed setup.py and egg.info in patchPhase
|
||||||
|
# # sed -i "s/<package>.../<package>/"
|
||||||
|
# requests>=2.23.0,<3
|
||||||
|
# ciso8601>=2.1.3,<3
|
||||||
|
# urllib3>=1.25.8,<2
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
requests
|
||||||
|
ciso8601
|
||||||
|
urllib3
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python client to retrieve data provided by DWD via their geoserver WFS API";
|
||||||
|
homepage = https://github.com/stephan192/dwdwfsapi;
|
||||||
|
license = licenses.mit;
|
||||||
|
# maintainers = [ maintainers. ];
|
||||||
|
};
|
||||||
|
}
|
37
makefu/2configs/ham/deps/pykodi.nix
Normal file
37
makefu/2configs/ham/deps/pykodi.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, jsonrpc-async
|
||||||
|
, jsonrpc-websocket
|
||||||
|
, aiohttp
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pykodi";
|
||||||
|
version = "0.2.2";
|
||||||
|
|
||||||
|
disabled = false; # requires python version >=3.7.0
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "43e7036a00a76f65c34dc5e7f1065a3ef071eea7619c2e6228e521b638e640bc";
|
||||||
|
};
|
||||||
|
|
||||||
|
# # Package conditions to handle
|
||||||
|
# # might have to sed setup.py and egg.info in patchPhase
|
||||||
|
# # sed -i "s/<package>.../<package>/"
|
||||||
|
# jsonrpc-async>=1.1.0
|
||||||
|
# jsonrpc-websocket>=1.2.1
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
jsonrpc-async
|
||||||
|
jsonrpc-websocket
|
||||||
|
aiohttp
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "An async python interface for Kodi over JSON-RPC";
|
||||||
|
homepage = https://github.com/OnFreund/PyKodi;
|
||||||
|
license = licenses.mit;
|
||||||
|
# maintainers = [ maintainers. ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user