mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
42 lines
1.3 KiB
Nix
42 lines
1.3 KiB
Nix
{ lib, stdenv, fetchurl, pkg-config, openssl, libuuid, libmd, zlib, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "got";
|
|
version = "0.64";
|
|
|
|
src = fetchurl {
|
|
url =
|
|
"https://gameoftrees.org/releases/portable/got-portable-${version}.tar.gz";
|
|
sha256 = "1qigv8fnmiynrx6qrg28n2981a30n56nh3xbhmlpihl7fqxmg1sq";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ openssl libuuid libmd zlib ncurses ];
|
|
|
|
doInstallCheck = true;
|
|
|
|
installCheckPhase = ''
|
|
runHook preInstallCheck
|
|
test "$($out/bin/got --version)" = '${pname} ${version}'
|
|
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.all;
|
|
maintainers = with maintainers; [ abbe ];
|
|
};
|
|
}
|