From ef71bc461defb715e275edd3e5b64a9dd5c2f932 Mon Sep 17 00:00:00 2001 From: Redvers Davies Date: Tue, 29 Sep 2020 01:14:12 +0000 Subject: [PATCH] pony-corral: init 0.4.0 --- .../compilers/ponyc/pony-corral.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/compilers/ponyc/pony-corral.nix diff --git a/pkgs/development/compilers/ponyc/pony-corral.nix b/pkgs/development/compilers/ponyc/pony-corral.nix new file mode 100644 index 000000000000..7cf3000e9db1 --- /dev/null +++ b/pkgs/development/compilers/ponyc/pony-corral.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, ponyc }: + +stdenv.mkDerivation ( rec { + pname = "corral"; + version = "0.4.0"; + + src = fetchFromGitHub { + owner = "ponylang"; + repo = pname; + rev = version; + sha256 = "0kydx4psl6k4n46as9xc5xwbwapibm6g7haxds7y9d392807qfqk"; + }; + + buildInputs = [ ponyc ]; + + installFlags = [ "prefix=${placeholder "out"}" "install" ]; + + meta = with stdenv.lib; { + description = "Corral is a dependency management tool for ponylang (ponyc)"; + homepage = "https://www.ponylang.io"; + license = licenses.bsd2; + maintainers = with maintainers; [ redvers ]; + platforms = [ "x86_64-linux" "x86_64-darwin" ]; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f410dac26863..ef72ef359799 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9609,6 +9609,7 @@ in stdenv = clangStdenv; }; + pony-corral = callPackage ../development/compilers/ponyc/pony-corral.nix { }; pony-stable = callPackage ../development/compilers/ponyc/pony-stable.nix { }; qbe = callPackage ../development/compilers/qbe { };