diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-18 21:12:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-18 21:12:28 +0100 |
commit | c73cb2b013fafdb41dcf7d80eaaa27b899513fe3 (patch) | |
tree | 625931eba31f51941bd88705965ddda7c76407ee /pkgs/applications/graphics | |
parent | 1881e81e3cc862c34a7cd347e9c5af6df298f074 (diff) | |
parent | de39cac1cfbcc296ea698df3e2c68bdc71bdb50a (diff) |
Merge pull request #103518 from djanatyn/pkg/xmountains
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/xmountains/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/xmountains/default.nix b/pkgs/applications/graphics/xmountains/default.nix new file mode 100644 index 000000000000..c31f7923c990 --- /dev/null +++ b/pkgs/applications/graphics/xmountains/default.nix @@ -0,0 +1,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 ]; + }; +} |