about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/graphics/xmountains/default.nix
blob: c31f7923c99015d365520ba3bbc7efe73eac9456 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, stdenv, fetchFromGitHub, xlibsWrapper, xorg }:

stdenv.mkDerivation rec {
  pname = "xmountains";
  version = "2.10";

  src = fetchFromGitHub {
    owner = "spbooth";
    repo = pname;
    rev = "aa3bcbfed228adf3fff0fe4295589f13fc194f0b";
    sha256 = "0dx4n2y736lv04sj41cp1dw8n5zkw5gyd946a6zsiv0k796s9ra9";
  };

  buildInputs = [ xlibsWrapper xorg.xbitmaps ];
  nativeBuildInputs = with xorg; [ imake gccmakedep ];

  installPhase = "install -Dm755 xmountains -t $out/bin";

  meta = with lib; {
    description = "X11 based fractal landscape generator";
    homepage = "https://spbooth.github.io/xmountains";
    license = licenses.hpndSellVariant;
    maintainers = with maintainers; [ djanatyn ];
  };
}