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