python310Packages.rmcl: init at 0.4.2

This commit is contained in:
Robert Schütz 2022-05-31 02:44:31 +00:00 committed by Robert Schütz
parent 77087c710f
commit 9e8e5c785e
2 changed files with 52 additions and 0 deletions

View 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 ];
};
}

View file

@ -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 { };