2022-12-04 22:12:16 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, ponyc
|
|
|
|
}:
|
2020-09-29 01:14:12 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation ( rec {
|
|
|
|
pname = "corral";
|
2022-12-03 12:30:38 +00:00
|
|
|
version = "0.6.1";
|
2020-09-29 01:14:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ponylang";
|
|
|
|
repo = pname;
|
2022-12-04 22:12:16 +00:00
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-Rv1K6kFRylWodm1uACBs8KqqEqQZh86NqAG50heNteE=";
|
2020-09-29 01:14:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ponyc ];
|
|
|
|
|
|
|
|
installFlags = [ "prefix=${placeholder "out"}" "install" ];
|
|
|
|
|
2021-01-22 11:25:31 +00:00
|
|
|
meta = with lib; {
|
2020-09-29 01:14:12 +00:00
|
|
|
description = "Corral is a dependency management tool for ponylang (ponyc)";
|
|
|
|
homepage = "https://www.ponylang.io";
|
2022-12-04 22:12:16 +00:00
|
|
|
changelog = "https://github.com/ponylang/corral/blob/${version}/CHANGELOG.md";
|
2020-09-29 01:14:12 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ redvers ];
|
|
|
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
|
|
|
};
|
|
|
|
})
|