aboutsummaryrefslogtreecommitdiffhomepage
path: root/dhall-1.18.0.nix
diff options
context:
space:
mode:
authorGaƫtan <36162164+gaetanfl@users.noreply.github.com>2018-11-20 20:32:43 +0100
committerGitHub <noreply@github.com>2018-11-20 20:32:43 +0100
commit66401fc939cd73628561d4832c3e219f0b44d8de (patch)
treeca5b2bc2ea4c15d91476436ca4376108f5a78d88 /dhall-1.18.0.nix
parent6bbc5a167fb43110a5b16746c112298f392be2b8 (diff)
parent77e27a11c31fee82c2ff30613bc832f5171fa845 (diff)
downloadansible-kong-app-66401fc939cd73628561d4832c3e219f0b44d8de.tar.gz
ansible-kong-app-66401fc939cd73628561d4832c3e219f0b44d8de.tar.zst
ansible-kong-app-66401fc939cd73628561d4832c3e219f0b44d8de.zip
Merge pull request #7 from haitlahcen/dhall-interfacev0.5
add dhall interface
Diffstat (limited to 'dhall-1.18.0.nix')
-rw-r--r--dhall-1.18.0.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/dhall-1.18.0.nix b/dhall-1.18.0.nix
new file mode 100644
index 0000000..d6522bd
--- /dev/null
+++ b/dhall-1.18.0.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}