depot/third_party/nixpkgs/pkgs/development/python-modules/rmcl/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

49 lines
836 B
Nix

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