python310Packages.rmcl: init at 0.4.2
This commit is contained in:
parent
77087c710f
commit
9e8e5c785e
50
pkgs/development/python-modules/rmcl/default.nix
Normal file
50
pkgs/development/python-modules/rmcl/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, poetry-core
|
||||
, asks
|
||||
, trio
|
||||
, xdg
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rmcl";
|
||||
version = "0.4.2";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "58de4758e7e3cb7acbf28fcfa80f4155252afdfb191beb4ba4aa36961f66cc67";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '= "^' '= ">='
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
asks
|
||||
trio
|
||||
xdg
|
||||
];
|
||||
|
||||
# upstream has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "rmcl" ];
|
||||
|
||||
meta = {
|
||||
description = "ReMarkable Cloud Library";
|
||||
homepage = "https://github.com/rschroll/rmcl";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
|
@ -9264,6 +9264,8 @@ in {
|
|||
|
||||
rlp = callPackage ../development/python-modules/rlp { };
|
||||
|
||||
rmcl = callPackage ../development/python-modules/rmcl { };
|
||||
|
||||
rmrl = callPackage ../development/python-modules/rmrl { };
|
||||
|
||||
rnc2rng = callPackage ../development/python-modules/rnc2rng { };
|
||||
|
|
Loading…
Reference in a new issue