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";
|
2022-06-25 15:53:56 +01:00
|
|
|
version = "0.6.0";
|
2020-09-29 02:14:12 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ponylang";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-06-25 15:53:56 +01:00
|
|
|
sha256 = "sha256-8hSs1pllAips27Lut1GbSn3E9lbp4BT1L2AlkyDd46o=";
|
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" ];
|
|
|
|
};
|
|
|
|
})
|