summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2021-01-09 12:11:44 +0100
committerMichael Weiss <dev.primeos@gmail.com>2021-01-09 12:16:11 +0100
commit8ae8602bf7529fddeab29867329c21af96600a68 (patch)
tree6d2a2df12ee53fd7e9d94188654c3aad89cfabad /pkgs/development/ocaml-modules
parente251591528ebecb21626f098e6ce62562568489d (diff)
parent9ffd16b3850536094ca36bc31520bb15a6d5a9ef (diff)
Merge branch 'master' into staging-next
Manually resolved a conflict in pkgs/development/libraries/libbladeRF/default.nix.
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/elpi/default.nix24
1 files changed, 14 insertions, 10 deletions
diff --git a/pkgs/development/ocaml-modules/elpi/default.nix b/pkgs/development/ocaml-modules/elpi/default.nix
index 865c5448c5bd..6f0d355fed5b 100644
--- a/pkgs/development/ocaml-modules/elpi/default.nix
+++ b/pkgs/development/ocaml-modules/elpi/default.nix
@@ -1,15 +1,19 @@
-{ lib, fetchzip, buildDunePackage, camlp5
+{ stdenv, lib, fetchzip, buildDunePackage, camlp5
, ppxlib, ppx_deriving, re, perl, ncurses
+, version ? "1.12.0"
}:
-
+with lib;
+let fetched = import ../../../build-support/coq/meta-fetch/default.nix
+ {inherit stdenv fetchzip; } ({
+ release."1.12.0".sha256 = "1agisdnaq9wrw3r73xz14yrq3wx742i6j8i5icjagqk0ypmly2is";
+ release."1.11.4".sha256 = "1m0jk9swcs3jcrw5yyw5343v8mgax238cjb03s8gc4wipw1fn9f5";
+ releaseRev = v: "v${v}";
+ location = { domain = "github.com"; owner = "LPCIC"; repo = "elpi"; };
+ }) version;
+in
buildDunePackage rec {
pname = "elpi";
- version = "1.11.4";
-
- src = fetchzip {
- url = "https://github.com/LPCIC/elpi/releases/download/v${version}/elpi-v${version}.tbz";
- sha256 = "1hmjp2z52j17vwhhdkj45n9jx11jxkdg2dwa0n04yyw0qqy4m7c1";
- };
+ inherit (fetched) version src;
minimumOCamlVersion = "4.04";
@@ -19,8 +23,8 @@ buildDunePackage rec {
meta = {
description = "Embeddable λProlog Interpreter";
- license = lib.licenses.lgpl21Plus;
- maintainers = [ lib.maintainers.vbgl ];
+ license = licenses.lgpl21Plus;
+ maintainers = [ maintainers.vbgl ];
homepage = "https://github.com/LPCIC/elpi";
};