Skip to content

Commit 0fe8453

Browse files
cab404natsukium
andcommitted
pythonPackages.senf: init at 1.5.0
Co-authored-by: OTABI Tomoya <[email protected]>
1 parent 784c1f4 commit 0fe8453

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
buildPythonPackage,
3+
fetchPypi,
4+
lib,
5+
hypothesis,
6+
pytestCheckHook,
7+
}:
8+
buildPythonPackage rec {
9+
pname = "senf";
10+
version = "1.5.0";
11+
12+
src = fetchPypi {
13+
inherit pname version;
14+
hash = "sha256-kFlFEOqYVBM47YWmwUOPuiCqoqSW+I3y0tNlSFZjjNE=";
15+
};
16+
17+
nativeCheckInputs = [
18+
hypothesis
19+
pytestCheckHook
20+
];
21+
22+
disabledTests = [
23+
# Both don't work even with HOME specified...
24+
"test_getuserdir"
25+
"test_expanduser_user"
26+
];
27+
28+
pythonImportsCheck = [ "senf" ];
29+
30+
meta = with lib; {
31+
description = "Consistent filename handling for all Python versions and platforms";
32+
homepage = "https://senf.readthedocs.io/en/latest/";
33+
license = licenses.mit;
34+
maintainers = with maintainers; [ cab404 ];
35+
};
36+
37+
}

pkgs/top-level/python-packages.nix

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

1422914229
sendgrid = callPackage ../development/python-modules/sendgrid { };
1423014230

14231+
senf = callPackage ../development/python-modules/senf { };
14232+
1423114233
sense-energy = callPackage ../development/python-modules/sense-energy { };
1423214234

1423314235
sensirion-ble = callPackage ../development/python-modules/sensirion-ble { };

0 commit comments

Comments
 (0)