25 lines
646 B
Nix
25 lines
646 B
Nix
{ lib, stdenv, fetchFromGitHub, ponyc }:
|
|
|
|
stdenv.mkDerivation ( rec {
|
|
pname = "corral";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ponylang";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-8hSs1pllAips27Lut1GbSn3E9lbp4BT1L2AlkyDd46o=";
|
|
};
|
|
|
|
buildInputs = [ ponyc ];
|
|
|
|
installFlags = [ "prefix=${placeholder "out"}" "install" ];
|
|
|
|
meta = with lib; {
|
|
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" ];
|
|
};
|
|
})
|