nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "auroranoaa";
11 version = "0.0.5";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "djtimca";
16 repo = "aurora-api";
17 tag = version;
18 hash = "sha256-bQDFSbYFsGtvPuJNMykynOpBTIeloUoCVRtIuHXR4n0=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [ aiohttp ];
24
25 # Project has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "auroranoaa" ];
29
30 meta = {
31 description = "Python wrapper for the Aurora API";
32 homepage = "https://github.com/djtimca/aurora-api";
33 changelog = "https://github.com/djtimca/aurora-api/releases/tag/${version}";
34 license = lib.licenses.asl20;
35 maintainers = with lib.maintainers; [ fab ];
36 };
37}