diff options
author | John Titor <50095635+JohnRTitor@users.noreply.github.com> | 2024-05-13 11:24:32 +0530 |
---|---|---|
committer | John Titor <50095635+JohnRTitor@users.noreply.github.com> | 2024-05-13 11:38:51 +0530 |
commit | c0bb6f9c81a800475b27e851a5137f5cbd4f0c37 (patch) | |
tree | 40b2abf9d87fa9c4e2bd60c0fded037cc1017c4b /pkgs/by-name/ni | |
parent | 36d4305d4079f68c015af592e4cb93f44d2808cf (diff) |
ninja: 1.12.0 -> 1.12.1
add nix-update-script move to finalAttrs
Diffstat (limited to 'pkgs/by-name/ni')
-rw-r--r-- | pkgs/by-name/ni/ninja/package.nix | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/pkgs/by-name/ni/ninja/package.nix b/pkgs/by-name/ni/ninja/package.nix index 9ca66b2be5055..23d279e362d76 100644 --- a/pkgs/by-name/ni/ninja/package.nix +++ b/pkgs/by-name/ni/ninja/package.nix @@ -10,17 +10,18 @@ , re2c , buildPackages , buildDocs ? true +, nix-update-script }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "ninja"; - version = "1.12.0"; + version = "1.12.1"; src = fetchFromGitHub { owner = "ninja-build"; repo = "ninja"; - rev = "v${version}"; - hash = "sha256-ewMn735TJTiQZYk3Y7QxNLRnKh6xdRUcdJzCX+HCmEo="; + rev = "v${finalAttrs.version}"; + hash = "sha256-RT5u+TDvWxG5EVQEYj931EZyrHUSAqK73OKDAascAwA="; }; depsBuildBuild = [ buildPackages.stdenv.cc ]; @@ -81,7 +82,9 @@ stdenv.mkDerivation rec { setupHook = ./setup-hook.sh; - meta = with lib; { + passthru.updateScript = nix-update-script {}; + + meta = { description = "Small build system with a focus on speed"; mainProgram = "ninja"; longDescription = '' @@ -91,8 +94,8 @@ stdenv.mkDerivation rec { to run builds as fast as possible. ''; homepage = "https://ninja-build.org/"; - license = licenses.asl20; - platforms = platforms.unix; - maintainers = with maintainers; [ thoughtpolice bjornfor orivej ]; + license = lib.licenses.asl20; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ thoughtpolice bjornfor orivej ]; }; -} +}) |