8 buildPythonPackage rec {
11 format = "setuptools";
13 disabled = pythonOlder "3.7";
15 src = fetchFromGitHub {
18 rev = "refs/tags/v${version}";
19 hash = "sha256-LrDLIWiV/zIbl7CwKh7DAy4LoLyY7+hfUu8nqduclnA=";
23 substituteInPlace setup.py \
24 --replace '"pytest-runner"' ""
25 substituteInPlace pytest.ini \
26 --replace " --cov=strenum --cov-report term-missing --black --pylint" ""
33 pythonImportsCheck = [
38 description = "MOdule for enum that inherits from str";
39 homepage = "https://github.com/irgeek/StrEnum";
40 changelog = "https://github.com/irgeek/StrEnum/releases/tag/v${version}";
41 license = with licenses; [ mit ];
42 maintainers = with maintainers; [ fab ];