mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-15 08:58:58 +03:00
python3Packages.google-re2: add pythonImportsCheck
This commit is contained in:
parent
60df4bd6ec
commit
acae74c7ae
@ -1,23 +1,38 @@
|
||||
{ lib, buildPythonPackage, pythonOlder, fetchPypi, pybind11, re2, six }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, pybind11
|
||||
, re2
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-re2";
|
||||
version = "0.2.20220401";
|
||||
disabled = pythonOlder "3.6";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-v3G+MvFV8gq9LJqj/zrtlTjRm0ZNxTh0UdQSPiwFHY4=";
|
||||
hash = "sha256-v3G+MvFV8gq9LJqj/zrtlTjRm0ZNxTh0UdQSPiwFHY4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pybind11 re2 six
|
||||
pybind11
|
||||
re2
|
||||
six
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"re2"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "RE2 Python bindings";
|
||||
homepage = "https://github.com/google/re2";
|
||||
license = licenses.bsd3;
|
||||
homepage = "https://github.com/google/re2";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ alexbakker ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user