1{
2 buildPythonPackage,
3 fetchPypi,
4 lib,
5 hypothesis,
6 pytestCheckHook,
7}:
8buildPythonPackage 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}