nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 requests,
7}:
8
9buildPythonPackage rec {
10 pname = "justnimbus";
11 version = "0.7.4";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "kvanzuijlen";
16 repo = "justnimbus";
17 tag = version;
18 hash = "sha256-FsuvpmMWBYI1LheO3NFfCeaW4m3YQ41Tc81TP3gdNqo=";
19 };
20
21 nativeBuildInputs = [ poetry-core ];
22
23 propagatedBuildInputs = [ requests ];
24
25 # Module has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "justnimbus" ];
29
30 meta = {
31 description = "Library for the JustNimbus API";
32 homepage = "https://github.com/kvanzuijlen/justnimbus";
33 changelog = "https://github.com/kvanzuijlen/justnimbus/releases/tag/${version}";
34 license = lib.licenses.asl20;
35 maintainers = with lib.maintainers; [ fab ];
36 };
37}