diff options
author | Jonathan Strickland <djanatyn@gmail.com> | 2020-11-14 23:42:02 -0500 |
---|---|---|
committer | Jonathan Strickland <djanatyn@gmail.com> | 2020-11-15 03:16:54 -0500 |
commit | a198e2f39b8d7d5a413ebc3f5d993619a42c46b9 (patch) | |
tree | 86c5925808fd33aa732c442aca226d6497ad636d /pkgs/applications/graphics/xlife | |
parent | 986e9cfd6c44fe727eb3e3b436673bc9982f59fc (diff) |
xlife: init at 6.7.5
Diffstat (limited to 'pkgs/applications/graphics/xlife')
-rw-r--r-- | pkgs/applications/graphics/xlife/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/xlife/default.nix b/pkgs/applications/graphics/xlife/default.nix new file mode 100644 index 000000000000..cc7013739985 --- /dev/null +++ b/pkgs/applications/graphics/xlife/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchsvn, xorg }: + +stdenv.mkDerivation { + pname = "xlife"; + version = "6.7.5"; + + src = fetchsvn { + url = "https://svn.code.sf.net/p/xlife-cal/xlife/trunk"; + rev = "365"; + sha256 = "1gadlcp32s179kd7ypxr8cymd6s060p6z4c2vnx94i8bmiw3nn8h"; + }; + + nativeBuildInputs = with xorg; [ imake gccmakedep ]; + buildInputs = [ xorg.libX11 ]; + + hardeningDisable = [ "format" ]; + installPhase = '' + install -Dm755 xlife -t $out/bin + install -Dm755 lifeconv -t $out/bin + ''; + + meta = with stdenv.lib; { + homepage = "http://litwr2.atspace.eu/xlife.php"; + description = "Conway's Game of Life and other cellular automata, for X"; + license = licenses.hpndSellVariant; + maintainers = with maintainers; [ djanatyn ]; + }; +} |