Merge pull request #295048 from afh/update-got

got: 0.96 -> 0.97

authored by Peder Bergebakken Sundt and committed by GitHub 22ec091a d519d441

+10 -9
+10 -9
pkgs/applications/version-management/got/default.nix
··· 16 16 17 17 stdenv.mkDerivation (finalAttrs: { 18 18 pname = "got"; 19 - version = "0.96"; 19 + version = "0.97"; 20 20 21 21 src = fetchurl { 22 22 url = "https://gameoftrees.org/releases/portable/got-portable-${finalAttrs.version}.tar.gz"; 23 - hash = "sha256-/R7r6IJtgkuNQwoLxys/1HcXW+l3PVkjnPXphFpAFTs="; 23 + hash = "sha256-4HpIlKRYUDoymCBH8GS8DDXaY0nYiVvotpBkwglOO3I="; 24 24 }; 25 25 26 26 nativeBuildInputs = [ pkg-config bison ] ··· 35 35 # The configure script assumes dependencies on Darwin are installed via 36 36 # Homebrew or MacPorts and hardcodes assumptions about the paths of 37 37 # dependencies which fails the nixpkgs configurePhase. 38 - substituteInPlace configure --replace 'xdarwin' 'xhomebrew' 38 + substituteInPlace configure --replace-fail 'xdarwin' 'xhomebrew' 39 39 ''; 40 40 41 41 env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.isDarwin [ ··· 49 49 50 50 installCheckPhase = '' 51 51 runHook preInstallCheck 52 - test "$($out/bin/got --version)" = "${finalAttrs.pname} ${finalAttrs.version}" 52 + test "$($out/bin/got --version)" = "got ${finalAttrs.version}" 53 53 runHook postInstallCheck 54 54 ''; 55 55 56 - meta = with lib; { 56 + meta = { 57 + changelog = "https://gameoftrees.org/releases/CHANGES"; 57 58 description = "A version control system which prioritizes ease of use and simplicity over flexibility"; 58 59 longDescription = '' 59 60 Game of Trees (Got) is a version control system which prioritizes ··· 65 66 on the same repository. 66 67 ''; 67 68 homepage = "https://gameoftrees.org"; 68 - changelog = "https://gameoftrees.org/releases/CHANGES"; 69 - license = licenses.isc; 70 - platforms = platforms.linux ++ platforms.darwin; 71 - maintainers = with maintainers; [ abbe afh ]; 69 + license = lib.licenses.isc; 70 + maintainers = with lib.maintainers; [ abbe afh ]; 71 + mainProgram = "got"; 72 + platforms = with lib.platforms; darwin ++ linux; 72 73 }; 73 74 })