depot/third_party/nixpkgs/pkgs/development/python-modules/justnimbus/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

45 lines
794 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "justnimbus";
version = "0.7.2";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "kvanzuijlen";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-arUdjZiEJx0L1YcCNxqlE4ItoTEzd/TYVgqDPIqomMg=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
requests
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"justnimbus"
];
meta = with lib; {
description = "Library for the JustNimbus API";
homepage = "https://github.com/kvanzuijlen/justnimbus";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}