From 3927df398956225aa719273540d6da5d81dfebec Mon Sep 17 00:00:00 2001 From: Zane van Iperen Date: Thu, 14 Nov 2024 01:24:45 +0900 Subject: [PATCH] mkalias: 1.0.0 -> 1.1.0 --- pkgs/by-name/mk/mkalias/package.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/mk/mkalias/package.nix b/pkgs/by-name/mk/mkalias/package.nix index 507ce73827e8..1989452df36e 100644 --- a/pkgs/by-name/mk/mkalias/package.nix +++ b/pkgs/by-name/mk/mkalias/package.nix @@ -7,13 +7,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "mkalias"; - version = "1.0.0"; + version = "1.1.0"; src = fetchFromGitHub { owner = "vs49688"; repo = "mkalias"; rev = "v${finalAttrs.version}"; - hash = "sha256-L6bgCJ0fdiWmtlgTzDmTenTMP74UFUEqiDmE1+gg3zw="; + hash = "sha256-kIVCtYGlWKS0d/Potwo6X8F7Hgc/1S1RQTEbJi+IL9U="; }; nativeBuildInputs = [ @@ -24,6 +24,10 @@ stdenv.mkDerivation (finalAttrs: { darwin.apple_sdk.frameworks.Foundation ]; + cmakeFlags = [ + "-DMKALIAS_VERSION=${finalAttrs.version}" + ]; + installPhase = '' runHook preInstall @@ -35,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Quick'n'dirty tool to make APFS aliases"; homepage = "https://github.com/vs49688/mkalias"; - license = lib.licenses.mit; + license = lib.licenses.gpl2Only; mainProgram = "mkalias"; maintainers = with lib.maintainers; [ zane emilytrau ]; platforms = lib.platforms.darwin;