2022-04-29 02:26:41 +02:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, openssl, libbsd, libuuid, libmd, zlib, ncurses }:
|
2021-10-02 12:24:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "got";
|
2022-04-29 02:26:41 +02:00
|
|
|
version = "0.69";
|
2021-10-02 12:24:23 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-03-27 15:15:07 +02:00
|
|
|
url = "https://gameoftrees.org/releases/portable/got-portable-${version}.tar.gz";
|
2022-04-29 02:26:41 +02:00
|
|
|
sha256 = "1cnl0yk866wzjwgas587kvb08njq7db71b5xqsdrwd1varp010vm";
|
2021-10-02 12:24:23 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
2022-04-29 02:26:41 +02:00
|
|
|
buildInputs = [ openssl libbsd libuuid libmd zlib ncurses ];
|
2021-10-02 12:24:23 +02:00
|
|
|
|
|
|
|
doInstallCheck = true;
|
|
|
|
|
|
|
|
installCheckPhase = ''
|
|
|
|
runHook preInstallCheck
|
2021-11-29 08:37:54 +01:00
|
|
|
test "$($out/bin/got --version)" = '${pname} ${version}'
|
2021-10-02 12:24:23 +02: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;
|
2022-01-31 19:36:05 +01:00
|
|
|
platforms = platforms.linux;
|
2021-10-02 12:24:23 +02:00
|
|
|
maintainers = with maintainers; [ abbe ];
|
|
|
|
};
|
|
|
|
}
|