summary refs log tree commit diff
path: root/pkgs/development/compilers/ponyc/pony-corral.nix
blob: db2473f29144a93edda3b41ccfd74e1adbe4ee24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, stdenv
, fetchFromGitHub
, ponyc
}:

stdenv.mkDerivation ( rec {
  pname = "corral";
  version = "unstable-2023-02-11";

  src = fetchFromGitHub {
    owner = "ponylang";
    repo = pname;
    rev = "f31353a9ec9cd7eab6ee89079ae6a782192fd4b5";
    hash = "sha256-jTx/7iFvmwOdjGVf/6NUy+FTkv6Mkv8DeotJ67pvmtc=";
  };

  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";
    changelog = "https://github.com/ponylang/corral/blob/${version}/CHANGELOG.md";
    license = licenses.bsd2;
    maintainers = with maintainers; [ redvers ];
    platforms = [ "x86_64-linux" "x86_64-darwin" ];
  };
})