nixpkgs/pkgs/development/compilers/ponyc/pony-corral.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
844 B
Nix
Raw Normal View History

2022-12-04 22:12:16 +00:00
{ lib
, stdenv
, fetchFromGitHub
, ponyc
2023-05-21 14:12:02 +00:00
, nix-update-script
2022-12-04 22:12:16 +00:00
}:
2020-09-29 01:14:12 +00:00
2023-09-19 22:37:44 +00:00
stdenv.mkDerivation (finalAttrs: {
2020-09-29 01:14:12 +00:00
pname = "corral";
2023-09-19 22:37:44 +00:00
version = "0.8.0";
2020-09-29 01:14:12 +00:00
src = fetchFromGitHub {
owner = "ponylang";
2023-09-19 22:37:44 +00:00
repo = "corral";
rev = finalAttrs.version;
hash = "sha256-+pHg5BFHlScC1suad0/3RqKAnxoEVZNUNj1EDLvbsfA=";
2020-09-29 01:14:12 +00:00
};
2023-09-19 22:37:44 +00:00
strictDeps = true;
nativeBuildInputs = [ ponyc ];
2020-09-29 01:14:12 +00:00
installFlags = [ "prefix=${placeholder "out"}" "install" ];
2023-05-21 14:12:02 +00:00
passthru.updateScript = nix-update-script { };
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";
2023-09-19 22:37:44 +00:00
changelog = "https://github.com/ponylang/corral/blob/${finalAttrs.version}/CHANGELOG.md";
2020-09-29 01:14:12 +00:00
license = licenses.bsd2;
maintainers = with maintainers; [ redvers ];
2023-09-19 22:37:44 +00:00
inherit (ponyc.meta) platforms;
2020-09-29 01:14:12 +00:00
};
})