From 986e9cfd6c44fe727eb3e3b436673bc9982f59fc Mon Sep 17 00:00:00 2001 From: Jonathan Strickland Date: Wed, 11 Nov 2020 19:15:54 -0500 Subject: [PATCH 1/2] licenses: add HPND-sell-variant --- lib/licenses.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/licenses.nix b/lib/licenses.nix index a704a6884c7..850de29e7d1 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -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"; From a198e2f39b8d7d5a413ebc3f5d993619a42c46b9 Mon Sep 17 00:00:00 2001 From: Jonathan Strickland Date: Sat, 14 Nov 2020 23:42:02 -0500 Subject: [PATCH 2/2] xlife: init at 6.7.5 --- pkgs/applications/graphics/xlife/default.nix | 28 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/applications/graphics/xlife/default.nix diff --git a/pkgs/applications/graphics/xlife/default.nix b/pkgs/applications/graphics/xlife/default.nix new file mode 100644 index 00000000000..cc701373998 --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 551b285d419..0675427d4c7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24738,6 +24738,8 @@ in xkblayout-state = callPackage ../applications/misc/xkblayout-state { }; + xlife = callPackage ../applications/graphics/xlife { }; + xmobar = haskellPackages.xmobar; xmonad-log = callPackage ../tools/misc/xmonad-log { };