depot/third_party/nixpkgs/pkgs/development/python-modules/justnimbus/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

45 lines
779 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "justnimbus";
version = "0.6.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "kvanzuijlen";
repo = pname;
rev = version;
hash = "sha256-uQ5Nc5sxqHeAuavyfX4Q6Umsd54aileJjFwOOU6X7Yg=";
};
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 ];
};
}