1 { lib, stdenv, fetchFromGitHub, xorg }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
10 rev = "aa3bcbfed228adf3fff0fe4295589f13fc194f0b";
11 sha256 = "0dx4n2y736lv04sj41cp1dw8n5zkw5gyd946a6zsiv0k796s9ra9";
14 buildInputs = [ xorg.xbitmaps xorg.libX11 ];
15 nativeBuildInputs = with xorg; [ imake gccmakedep ];
17 installPhase = "install -Dm755 xmountains -t $out/bin";
20 description = "X11 based fractal landscape generator";
21 homepage = "https://spbooth.github.io/xmountains";
22 license = licenses.hpndSellVariant;
23 maintainers = with maintainers; [ djanatyn ];
24 mainProgram = "xmountains";