aboutsummaryrefslogtreecommitdiffhomepage
path: root/dhall-1.18.nix
diff options
context:
space:
mode:
authorHussein A <44173825+haitlahcen@users.noreply.github.com>2018-11-20 16:44:40 +0100
committerGitHub <noreply@github.com>2018-11-20 16:44:40 +0100
commit5485dbc4db3e141673457475bcda5fc88057739f (patch)
treeda805be5a35221b8818581b404048999363b7291 /dhall-1.18.nix
parentb570ba036adb74095c712705d686f630d41f4ed0 (diff)
parentd1f83c592b92a68f7f968eac0323ee7d7fd0ee47 (diff)
downloadansible-clever-5485dbc4db3e141673457475bcda5fc88057739f.tar.gz
ansible-clever-5485dbc4db3e141673457475bcda5fc88057739f.tar.zst
ansible-clever-5485dbc4db3e141673457475bcda5fc88057739f.zip
Merge pull request #18 from haitlahcen/dhall-interfacev1.9
add dhall interface
Diffstat (limited to 'dhall-1.18.nix')
-rw-r--r--dhall-1.18.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/dhall-1.18.nix b/dhall-1.18.nix
new file mode 100644
index 0000000..d6522bd
--- /dev/null
+++ b/dhall-1.18.nix
@@ -0,0 +1,16 @@
1{ pkgs ? import <nixpkgs> {} }: with pkgs;
2
3stdenv.mkDerivation rec {
4 name = "dhall-${version}";
5 version = "1.18.0";
6 phases = [ "installPhase "];
7 src = fetchurl {
8 url = "https://github.com/dhall-lang/dhall-haskell/releases/download/${version}/dhall-${version}-x86_64-linux.tar.bz2";
9 sha256 = "0jvw6ss96xifb21mzpvfjzvaffcnpj0jhpc4rd36cl2r22800qgx";
10 };
11 installPhase = ''
12 mkdir -p $out/bin
13 tar -xjf $src
14 mv bin/dhall $out/bin/
15 '';
16}