mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
python3Packages.reedsolo: init at 1.5.4
reedsolo: maintain, add tests, fix cython reedsolo: Apply suggestions from code review Co-authored-by: Jonathan Ringer <jonringer@users.noreply.github.com>
This commit is contained in:
parent
283900f4d2
commit
9ca12dc4c7
2 changed files with 29 additions and 0 deletions
27
pkgs/development/python-modules/reedsolo/default.nix
Normal file
27
pkgs/development/python-modules/reedsolo/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, buildPythonPackage, fetchFromGitHub, cython, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "reedsolo";
|
||||
version = "1.5.4";
|
||||
|
||||
# Pypi does not have the tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "tomerfiliba";
|
||||
repo = "reedsolomon";
|
||||
# https://github.com/tomerfiliba/reedsolomon/issues/28
|
||||
rev = "73926cdf81b39009bd6e46c8d49f3bbc0eaad4e4";
|
||||
sha256 = "03wrr0c32dsl7h9k794b8fwnyzklvmxgriy49mjvvd3val829cc1";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
checkPhase = "nosetests";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Pure-python universal errors-and-erasures Reed-Solomon Codec";
|
||||
homepage = "https://github.com/tomerfiliba/reedsolomon";
|
||||
license = licenses.publicDomain;
|
||||
maintainers = with maintainers; [ yorickvp ];
|
||||
};
|
||||
}
|
|
@ -6185,6 +6185,8 @@ in {
|
|||
|
||||
rednose = callPackage ../development/python-modules/rednose { };
|
||||
|
||||
reedsolo = callPackage ../development/python-modules/reedsolo { };
|
||||
|
||||
regex = callPackage ../development/python-modules/regex { };
|
||||
|
||||
regional = callPackage ../development/python-modules/regional { };
|
||||
|
|
Loading…
Reference in a new issue