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