base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / xm / xmountains / package.nix
blobd7c70f18b5b624232d933eff0dde01a76a5e235d
1 { lib, stdenv, fetchFromGitHub, xorg }:
3 stdenv.mkDerivation rec {
4   pname = "xmountains";
5   version = "2.10";
7   src = fetchFromGitHub {
8     owner = "spbooth";
9     repo = pname;
10     rev = "aa3bcbfed228adf3fff0fe4295589f13fc194f0b";
11     sha256 = "0dx4n2y736lv04sj41cp1dw8n5zkw5gyd946a6zsiv0k796s9ra9";
12   };
14   buildInputs = [ xorg.xbitmaps xorg.libX11 ];
15   nativeBuildInputs = with xorg; [ imake gccmakedep ];
17   installPhase = "install -Dm755 xmountains -t $out/bin";
19   meta = with lib; {
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";
25   };