]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/blob - dhall-1.18.0.nix
debugging
[github/fretlink/ansible-kong-app.git] / dhall-1.18.0.nix
1 { pkgs ? import <nixpkgs> {} }: with pkgs;
2
3 stdenv.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 }