aboutsummaryrefslogtreecommitdiffhomepage
path: root/dhall-1.26.1.nix
diff options
context:
space:
mode:
authorClement Delafargue <clement.delafargue@fretlink.com>2019-10-02 11:02:54 +0200
committerClement Delafargue <clement.delafargue@fretlink.com>2019-10-02 11:28:53 +0200
commit2acb3d4f7a61f0a6d932624ccf11cd14d5dc1ff8 (patch)
tree9f1e54602403fa90be42b475f722400142b434b4 /dhall-1.26.1.nix
parent3290aaf7f973cf3c64219d029538f53f1d82da94 (diff)
downloadansible-clever-2acb3d4f7a61f0a6d932624ccf11cd14d5dc1ff8.tar.gz
ansible-clever-2acb3d4f7a61f0a6d932624ccf11cd14d5dc1ff8.tar.zst
ansible-clever-2acb3d4f7a61f0a6d932624ccf11cd14d5dc1ff8.zip
Migrate to dhall 1.26.1 and merge types and termsv2.0-test-clementdpolykinds
Diffstat (limited to 'dhall-1.26.1.nix')
-rw-r--r--dhall-1.26.1.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/dhall-1.26.1.nix b/dhall-1.26.1.nix
new file mode 100644
index 0000000..918a528
--- /dev/null
+++ b/dhall-1.26.1.nix
@@ -0,0 +1,22 @@
1{ pkgs ? import <nixpkgs> {} }: with pkgs;
2
3let
4 mkVersion =
5 version: sha256:
6 stdenv.mkDerivation {
7 name = "dhall-${version}";
8 inherit version;
9 src = fetchurl {
10 url = "https://github.com/dhall-lang/dhall-haskell/releases/download/${version}/dhall-${version}-x86_64-linux.tar.bz2";
11 inherit sha256;
12 };
13 unpackPhase = ''
14 tar -xjf $src
15 '';
16 installPhase = ''
17 mkdir -p $out/bin
18 mv bin/dhall $out/bin/
19 '';
20 };
21in
22 mkVersion "1.26.1" "0sl4r3mfairgd6kn26hs1r1lkh8rn992grd73078rhqf5w90ag05"