Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / reedsolo / default.nix
bloba2fb336f70b4d37c6610648ec8cbb7e804b4f996
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
5 # build-system
6 , cython
7 , setuptools
9 # tests
10 , pytestCheckHook
13 buildPythonPackage rec {
14   pname = "reedsolo";
15   version = "1.7.0";
16   format = "pyproject";
18   # Pypi does not have the tests
19   src = fetchFromGitHub {
20     owner = "tomerfiliba";
21     repo = "reedsolomon";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-nzdD1oGXHSeGDD/3PpQQEZYGAwn9ahD2KNYGqpgADh0=";
24   };
26   nativeBuildInputs = [
27     cython
28     setuptools
29   ];
31   nativeCheckInputs = [
32     pytestCheckHook
33   ];
35   disabledTestPaths = [
36     "tests/test_creedsolo.py" # TODO: package creedsolo
37   ];
39   meta = with lib; {
40     description = "Pure-python universal errors-and-erasures Reed-Solomon Codec";
41     homepage = "https://github.com/tomerfiliba/reedsolomon";
42     license = licenses.publicDomain;
43     maintainers = with maintainers; [ yorickvp ];
44   };