571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
29 lines
746 B
Nix
29 lines
746 B
Nix
{ lib, 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 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 ];
|
|
};
|
|
}
|