1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonAtLeast,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "pynfsclient";
11 version = "0.1.5";
12 pyproject = true;
13
14 disabled = pythonAtLeast "3.13";
15
16 src = fetchPypi {
17 pname = "pyNfsClient";
18 inherit version;
19 hash = "sha256-xgZL08NlMCpSkALQwklh7Xq16bK2Sm2hAynbrIWsgaU=";
20 };
21
22 postPatch = ''
23 # HISTORY.md is missing
24 substituteInPlace setup.py \
25 --replace-fail "HISTORY.md" "README.rst"
26 '';
27
28 build-system = [ setuptools ];
29
30 # Module has no tests
31 doCheck = false;
32
33 pythonImportsCheck = [ "pyNfsClient" ];
34
35 meta = {
36 description = "Pure python NFS client";
37 homepage = "https://pypi.org/project/pyNfsClient/";
38 license = lib.licenses.mit;
39 maintainers = with lib.maintainers; [ fab ];
40 };
41}