3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/got/default.nix

42 lines
1.3 KiB
Nix
Raw Normal View History

2021-10-02 11:24:23 +01:00
{ lib, stdenv, fetchurl, pkg-config, openssl, libuuid, libmd, zlib, ncurses }:
stdenv.mkDerivation rec {
pname = "got";
2022-01-23 19:31:42 +00:00
version = "0.66";
2021-10-02 11:24:23 +01:00
src = fetchurl {
url =
"https://gameoftrees.org/releases/portable/got-portable-${version}.tar.gz";
2022-01-23 19:31:42 +00:00
sha256 = "13xrwndj80jix210fxkadivxyd1f5qavdrhxyl32n68xyv5xmkgg";
2021-10-02 11:24:23 +01:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl libuuid libmd zlib ncurses ];
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
2021-11-29 07:37:54 +00:00
test "$($out/bin/got --version)" = '${pname} ${version}'
2021-10-02 11:24:23 +01:00
runHook postInstallCheck
'';
meta = with lib; {
description = "A version control system which prioritizes ease of use and simplicity over flexibility";
longDescription = ''
Game of Trees (Got) is a version control system which prioritizes
ease of use and simplicity over flexibility.
Got uses Git repositories to store versioned data. Git can be used
for any functionality which has not yet been implemented in
Got. It will always remain possible to work with both Got and Git
on the same repository.
'';
homepage = "https://gameoftrees.org";
license = licenses.isc;
platforms = platforms.linux;
2021-10-02 11:24:23 +01:00
maintainers = with maintainers; [ abbe ];
};
}