at master 734 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 6 # build-system 7 pdm-backend, 8 9 # dependencies 10 numpy, 11 12 # tests 13 pytestCheckHook, 14}: 15 16buildPythonPackage rec { 17 pname = "plyfile"; 18 version = "1.1.2"; 19 pyproject = true; 20 21 src = fetchFromGitHub { 22 owner = "dranjan"; 23 repo = "python-plyfile"; 24 tag = "v${version}"; 25 hash = "sha256-J72aoXEMcuHtYaLtzWJ5UGN9HdJTnQ1/8KgdMLtwyr0="; 26 }; 27 28 build-system = [ pdm-backend ]; 29 30 dependencies = [ numpy ]; 31 32 nativeCheckInputs = [ pytestCheckHook ]; 33 34 pythonImportsCheck = [ "plyfile" ]; 35 36 meta = { 37 description = "NumPy-based text/binary PLY file reader/writer for Python"; 38 homepage = "https://github.com/dranjan/python-plyfile"; 39 maintainers = [ ]; 40 }; 41}