mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 10:14:09 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
36 lines
699 B
Nix
36 lines
699 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, unittestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sre-yield";
|
|
version = "1.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "sre_yield";
|
|
inherit version;
|
|
hash = "sha256-6U8aKjy6//4dzRXB1U5AGhUX4FKqZMfTFk+I3HYde4o=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
doCheck = true;
|
|
nativeCheckInputs = [
|
|
unittestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python library to efficiently generate all values that can match a given regular expression";
|
|
homepage = "https://github.com/sre-yield/sre-yield";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ danc86 ];
|
|
};
|
|
}
|
|
|