evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / reedsolo / default.nix
blob491c60d7130618f919ebff13788b88aa1f7bade9
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   # build-system
7   cython,
8   setuptools,
10   # tests
11   pytestCheckHook,
14 buildPythonPackage rec {
15   pname = "reedsolo";
16   version = "1.7.0";
17   format = "pyproject";
19   # Pypi does not have the tests
20   src = fetchFromGitHub {
21     owner = "tomerfiliba";
22     repo = "reedsolomon";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-nzdD1oGXHSeGDD/3PpQQEZYGAwn9ahD2KNYGqpgADh0=";
25   };
27   nativeBuildInputs = [
28     cython
29     setuptools
30   ];
32   nativeCheckInputs = [ pytestCheckHook ];
34   disabledTestPaths = [
35     "tests/test_creedsolo.py" # TODO: package creedsolo
36   ];
38   meta = with lib; {
39     description = "Pure-python universal errors-and-erasures Reed-Solomon Codec";
40     homepage = "https://github.com/tomerfiliba/reedsolomon";
41     license = licenses.publicDomain;
42     maintainers = with maintainers; [ yorickvp ];
43   };