1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 requests,
7 voluptuous,
8 httmock,
9 unittestCheckHook,
10}:
11
12buildPythonPackage rec {
13 pname = "pyiss";
14 version = "1.0.1";
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "HydrelioxGitHub";
19 repo = "pyiss";
20 tag = version;
21 hash = "sha256-bhxeu/06B6ba9RB9p++tRWN/Dp3KUel9DN166HryP1E=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 requests
28 voluptuous
29 ];
30
31 nativeCheckInputs = [
32 httmock
33 unittestCheckHook
34 ];
35
36 pythonImportsCheck = [ "pyiss" ];
37
38 meta = {
39 description = "Python library to access International Space Station location and data";
40 homepage = "https://github.com/HydrelioxGitHub/pyiss";
41 changelog = "https://github.com/HydrelioxGitHub/pyiss/releases/tag/${version}";
42 license = lib.licenses.mit;
43 maintainers = [ lib.maintainers.jamiemagee ];
44 };
45}