Skip to content

Commit 9485c96

Browse files
authored
python3Packages.tapsaff: init at 0.2.1 (#437380)
2 parents c0549b3 + c2dfd49 commit 9485c96

File tree

3 files changed

+44
-1
lines changed

3 files changed

+44
-1
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchPypi,
5+
requests,
6+
setuptools,
7+
}:
8+
9+
buildPythonPackage rec {
10+
pname = "tapsaff";
11+
version = "0.2.1";
12+
pyproject = true;
13+
14+
src = fetchPypi {
15+
inherit pname version;
16+
hash = "sha256-Q3VLbPsgXAYvZsjcW1m3lus2SFMjNJ8AmkcNK0THB6I=";
17+
};
18+
19+
build-system = [
20+
setuptools
21+
];
22+
23+
dependencies = [
24+
requests
25+
];
26+
27+
# Package does not have tests
28+
doCheck = false;
29+
30+
pythonImportsCheck = [
31+
"tapsaff"
32+
];
33+
34+
meta = {
35+
description = "Provides an API for requesting information from taps-aff.co.uk";
36+
homepage = "https://github.com/bazwilliams/python-taps-aff";
37+
license = lib.licenses.mit;
38+
maintainers = [ lib.maintainers.jamiemagee ];
39+
};
40+
}

pkgs/servers/home-assistant/component-packages.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5869,7 +5869,8 @@
58695869
];
58705870
"tapsaff" =
58715871
ps: with ps; [
5872-
]; # missing inputs: tapsaff
5872+
tapsaff
5873+
];
58735874
"tasmota" =
58745875
ps: with ps; [
58755876
aiohasupervisor

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17835,6 +17835,8 @@ self: super: with self; {
1783517835

1783617836
tappy = callPackage ../development/python-modules/tappy { };
1783717837

17838+
tapsaff = callPackage ../development/python-modules/tapsaff { };
17839+
1783817840
tasklib = callPackage ../development/python-modules/tasklib { };
1783917841

1784017842
taskw = callPackage ../development/python-modules/taskw { };

0 commit comments

Comments
 (0)