about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/compilers/ponyc/pony-corral.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/compilers/ponyc/pony-corral.nix')
-rw-r--r--nixpkgs/pkgs/development/compilers/ponyc/pony-corral.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/compilers/ponyc/pony-corral.nix b/nixpkgs/pkgs/development/compilers/ponyc/pony-corral.nix
new file mode 100644
index 000000000000..7cf3000e9db1
--- /dev/null
+++ b/nixpkgs/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" ];
+  };
+})