From 532f5babb827b485a6922178c75afda63cffa106 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 20 Sep 2023 00:37:44 +0200 Subject: [PATCH] pony-corral: 0.7.0 -> 0.8.0 --- .../compilers/ponyc/pony-corral.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/pkgs/development/compilers/ponyc/pony-corral.nix b/pkgs/development/compilers/ponyc/pony-corral.nix index ce785e5d140d..81bf2b0aebc5 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; }; })