commit
1672afcca1
1 changed files with 9 additions and 2 deletions
|
@ -2,18 +2,19 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
|
, nix-update-script
|
||||||
, python3
|
, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "re2c";
|
pname = "re2c";
|
||||||
version = "2.2";
|
version = "3.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "skvadrik";
|
owner = "skvadrik";
|
||||||
repo = "re2c";
|
repo = "re2c";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0snfxk1cf2f4dy4hcxd1fx1grav3di0qjgqqn97k85zsf9f6ys78";
|
sha256 = "sha256-ovwmltu97fzNQT0oZHefrAo4yV9HV1NwcY4PTSM5Bro=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -28,6 +29,12 @@ stdenv.mkDerivation rec {
|
||||||
patchShebangs run_tests.py
|
patchShebangs run_tests.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script {
|
||||||
|
attrPath = pname;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tool for writing very fast and very flexible scanners";
|
description = "Tool for writing very fast and very flexible scanners";
|
||||||
homepage = "https://re2c.org";
|
homepage = "https://re2c.org";
|
||||||
|
|
Loading…
Reference in a new issue