@@ -0,0 +1,25 @@
1+{ stdenv, fetchFromGitHub, ponyc }:
2+
3+stdenv.mkDerivation ( rec {
4+ pname = "corral";
5+ version = "0.4.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "ponylang";
9+ repo = pname;
10+ rev = version;
11+ sha256 = "0kydx4psl6k4n46as9xc5xwbwapibm6g7haxds7y9d392807qfqk";
12+ };
13+
14+ buildInputs = [ ponyc ];
15+
16+ installFlags = [ "prefix=${placeholder "out"}" "install" ];
17+
18+ meta = with stdenv.lib; {
19+ description = "Corral is a dependency management tool for ponylang (ponyc)";
20+ homepage = "https://www.ponylang.io";
21+ license = licenses.bsd2;
22+ maintainers = with maintainers; [ redvers ];
23+ platforms = [ "x86_64-linux" "x86_64-darwin" ];
24+ };
25+})