blob: 2eff69c4ad8da619552e1a9553cd044807b1e5c4 (
plain) (
blame)
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
42
43
44
45
|
{ lib
, fetchFromGitHub
, buildPythonPackage
# build-system
, pdm-pep517
# dependencies
, numpy
# tests
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "plyfile";
version = "1.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "dranjan";
repo = "python-plyfile";
rev = "refs/tags/v${version}";
hash = "sha256-HlyqljfjuaZoG5f2cfDQj+7KS0en7pW2PPEnpvH8U+E=";
};
nativeBuildInputs = [
pdm-pep517
];
propagatedBuildInputs = [
numpy
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "NumPy-based text/binary PLY file reader/writer for Python";
homepage = "https://github.com/dranjan/python-plyfile";
maintainers = with maintainers; [ abbradar ];
};
}
|