diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-09-20 07:47:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-20 07:47:34 +0200 |
commit | 737d7e6765f0eb1c29e06b0072aa8bcd8ef429ae (patch) | |
tree | b4dbfed979d644afa3be72944971776411c5a56a | |
parent | b1e2035bf7fa0d34e4b84cc4317ebbe888bee4f7 (diff) | |
parent | 532f5babb827b485a6922178c75afda63cffa106 (diff) |
Merge pull request #256200 from wegank/pony-corral-bump
pony-corral: 0.7.0 -> 0.8.0
-rw-r--r-- | pkgs/development/compilers/ponyc/pony-corral.nix | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/development/compilers/ponyc/pony-corral.nix b/pkgs/development/compilers/ponyc/pony-corral.nix index ce785e5d140dc..81bf2b0aebc5b 100644 --- a/pkgs/development/compilers/ponyc/pony-corral.nix +++ b/pkgs/development/compilers/ponyc/pony-corral.nix @@ -5,18 +5,20 @@ , nix-update-script }: -stdenv.mkDerivation ( rec { +stdenv.mkDerivation (finalAttrs: { pname = "corral"; - version = "0.7.0"; + version = "0.8.0"; src = fetchFromGitHub { owner = "ponylang"; - repo = pname; - rev = "f31353a9ec9cd7eab6ee89079ae6a782192fd4b5"; - hash = "sha256-jTx/7iFvmwOdjGVf/6NUy+FTkv6Mkv8DeotJ67pvmtc="; + repo = "corral"; + rev = finalAttrs.version; + hash = "sha256-+pHg5BFHlScC1suad0/3RqKAnxoEVZNUNj1EDLvbsfA="; }; - buildInputs = [ ponyc ]; + strictDeps = true; + + nativeBuildInputs = [ ponyc ]; installFlags = [ "prefix=${placeholder "out"}" "install" ]; @@ -25,9 +27,9 @@ stdenv.mkDerivation ( rec { 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"; + changelog = "https://github.com/ponylang/corral/blob/${finalAttrs.version}/CHANGELOG.md"; license = licenses.bsd2; maintainers = with maintainers; [ redvers ]; - platforms = [ "x86_64-linux" "x86_64-darwin" ]; + inherit (ponyc.meta) platforms; }; }) |