depot/third_party/nixpkgs/pkgs/development/python-modules/justnimbus/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

46 lines
883 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "justnimbus";
version = "0.7.3";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "kvanzuijlen";
repo = "justnimbus";
rev = "refs/tags/${version}";
hash = "sha256-JO8T0JItkkNHxlnDKOO8kM9KSzT7QML4sszPymgXSBA=";
};
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";
changelog = "https://github.com/kvanzuijlen/justnimbus/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}