Loading pkgs/by-name/cg/cg3/package.nix +51 −51 Original line number Diff line number Diff line Loading @@ -7,38 +7,42 @@ cmake, icu, boost, pkg-config, sqlite, cg3, }: let cg3 = stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "cg3"; version = "1.3.9"; version = "1.5.1"; src = fetchFromGitHub { owner = "GrammarSoft"; repo = "cg3"; rev = "v${version}"; sha256 = "sha256-TiEhhk90w5GibGZ4yalIf+4qLA8NoU6+GIPN6QNTz2A="; tag = "v${finalAttrs.version}"; hash = "sha256-R3ePghkr4m6FmiHfhPVdLRAJaipIBhGLOX0Hz1nNPv4="; }; nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ icu boost sqlite ]; doCheck = true; postFixup = '' substituteInPlace "$out"/lib/pkgconfig/cg3.pc \ --replace '=''${prefix}//' '=/' --replace-fail '=''${prefix}//' '=/' ''; passthru.tests.minimal = runCommand "${pname}-test" runCommand "cg3-test" { buildInputs = [ cg3 Loading @@ -56,15 +60,11 @@ let # TODO, consider optionals: # - Enable tcmalloc unless darwin? # - Enable python bindings? meta = with lib; { meta = { homepage = "https://github.com/GrammarSoft/cg3"; description = "Constraint Grammar interpreter, compiler and applicator vislcg3"; maintainers = with maintainers; [ unhammer ]; license = licenses.gpl3Plus; platforms = platforms.all; }; maintainers = with lib.maintainers; [ unhammer ]; license = lib.licenses.gpl3Plus; platforms = lib.platforms.all; }; in cg3 }) Loading
pkgs/by-name/cg/cg3/package.nix +51 −51 Original line number Diff line number Diff line Loading @@ -7,38 +7,42 @@ cmake, icu, boost, pkg-config, sqlite, cg3, }: let cg3 = stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "cg3"; version = "1.3.9"; version = "1.5.1"; src = fetchFromGitHub { owner = "GrammarSoft"; repo = "cg3"; rev = "v${version}"; sha256 = "sha256-TiEhhk90w5GibGZ4yalIf+4qLA8NoU6+GIPN6QNTz2A="; tag = "v${finalAttrs.version}"; hash = "sha256-R3ePghkr4m6FmiHfhPVdLRAJaipIBhGLOX0Hz1nNPv4="; }; nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ icu boost sqlite ]; doCheck = true; postFixup = '' substituteInPlace "$out"/lib/pkgconfig/cg3.pc \ --replace '=''${prefix}//' '=/' --replace-fail '=''${prefix}//' '=/' ''; passthru.tests.minimal = runCommand "${pname}-test" runCommand "cg3-test" { buildInputs = [ cg3 Loading @@ -56,15 +60,11 @@ let # TODO, consider optionals: # - Enable tcmalloc unless darwin? # - Enable python bindings? meta = with lib; { meta = { homepage = "https://github.com/GrammarSoft/cg3"; description = "Constraint Grammar interpreter, compiler and applicator vislcg3"; maintainers = with maintainers; [ unhammer ]; license = licenses.gpl3Plus; platforms = platforms.all; }; maintainers = with lib.maintainers; [ unhammer ]; license = lib.licenses.gpl3Plus; platforms = lib.platforms.all; }; in cg3 })