1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-19 16:09:19 +03:00
nixpkgs/pkgs/development/python-modules/regex/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
662 B
Nix
Raw Normal View History

2018-01-01 11:46:35 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, python
, pythonOlder
2018-01-01 11:46:35 +01:00
}:
buildPythonPackage rec {
pname = "regex";
version = "2022.1.18";
format = "setuptools";
disabled = pythonOlder "3.6";
2018-01-01 11:46:35 +01:00
src = fetchPypi {
inherit pname version;
hash = "sha256-l/MtwDqAVKTEpatddh7Uhh6CiywgD+vU5GhXBppIORY=";
2018-01-01 11:46:35 +01:00
};
2021-04-23 16:49:06 +02:00
checkPhase = ''
${python.interpreter} -m unittest
'';
pythonImportsCheck = [
"regex"
];
meta = with lib; {
2018-01-01 11:46:35 +01:00
description = "Alternative regular expression module, to replace re";
homepage = "https://bitbucket.org/mrabarnett/mrab-regex";
license = licenses.psfl;
maintainers = with maintainers; [ abbradar ];
2018-01-01 11:46:35 +01:00
};
}