Merge pull request #103884 from djanatyn/pkg/xlife

This commit is contained in:
Sandro 2020-11-26 01:55:25 +01:00 committed by GitHub
commit 97cce3214f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 0 deletions

View File

@ -392,6 +392,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) {
fullName = "Historic Permission Notice and Disclaimer";
};
hpndSellVariant = spdx {
fullName = "Historical Permission Notice and Disclaimer - sell variant";
spdxId = "HPND-sell-variant";
};
# Intel's license, seems free
iasl = {
fullName = "iASL";

View File

@ -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 ];
};
}

View File

@ -24847,6 +24847,8 @@ in
xkblayout-state = callPackage ../applications/misc/xkblayout-state { };
xlife = callPackage ../applications/graphics/xlife { };
xmobar = haskellPackages.xmobar;
xmonad-log = callPackage ../tools/misc/xmonad-log { };