dethrace: init at 0.8.0
This commit is contained in:
parent
0151acc48e
commit
1403125920
40
pkgs/by-name/de/dethrace/package.nix
Normal file
40
pkgs/by-name/de/dethrace/package.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
SDL2,
|
||||
perl,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dethrace";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dethrace-labs";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Bt2wwF5cquXZwFpFyJ0TDmbFdTHbboQ93W/DvP9bsMo=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
buildInputs = [ SDL2 ];
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
perl
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 dethrace $out/bin/dethrace
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://twitter.com/dethrace_labs";
|
||||
description = "Reverse engineering the 1997 game Carmageddon";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ astro ];
|
||||
mainProgram = "dethrace";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user