2021-01-22 12:25:31 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ponyc }:
|
2020-09-29 03:14:12 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation ( rec {
|
|
|
|
pname = "corral";
|
2021-10-08 23:11:29 +02:00
|
|
|
version = "0.5.4";
|
2020-09-29 03:14:12 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ponylang";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-10-08 23:11:29 +02:00
|
|
|
sha256 = "1chw56khx5akjxkq0vwrw9ryjpyc3fzdmksh496llc513l01hpkl";
|
2020-09-29 03:14:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ponyc ];
|
|
|
|
|
|
|
|
installFlags = [ "prefix=${placeholder "out"}" "install" ];
|
|
|
|
|
2021-01-22 12:25:31 +01:00
|
|
|
meta = with lib; {
|
2020-09-29 03:14:12 +02:00
|
|
|
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" ];
|
|
|
|
};
|
|
|
|
})
|