2022-05-18 14:49:53 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, openssl, libbsd, libuuid, libmd, zlib, ncurses }:
|
2021-10-04 12:37:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "got";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "0.73";
|
2021-10-04 12:37:57 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-03-30 09:31:56 +00:00
|
|
|
url = "https://gameoftrees.org/releases/portable/got-portable-${version}.tar.gz";
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "0x583h9f6jnqfwy48b43s1myrgbngn128m4ivmf9gcsvfiz3lxgh";
|
2021-10-04 12:37:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
buildInputs = [ openssl libbsd libuuid libmd zlib ncurses ];
|
2021-10-04 12:37:57 +00:00
|
|
|
|
|
|
|
doInstallCheck = true;
|
|
|
|
|
|
|
|
installCheckPhase = ''
|
|
|
|
runHook preInstallCheck
|
2021-12-06 16:07:01 +00:00
|
|
|
test "$($out/bin/got --version)" = '${pname} ${version}'
|
2021-10-04 12:37:57 +00: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-02-10 20:34:41 +00:00
|
|
|
platforms = platforms.linux;
|
2021-10-04 12:37:57 +00:00
|
|
|
maintainers = with maintainers; [ abbe ];
|
|
|
|
};
|
|
|
|
}
|