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