nixpkgs/pkgs/games/cutemaze/default.nix
R. RyanTM 81853859a1 cutemaze: 1.2.2 -> 1.2.3 (#41572)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/cutemaze/versions.

These checks were done:

- built on NixOS
- Warning: no invocation of /nix/store/sqmwkpsp62yarxbxil0xwl6c7434bhns-cutemaze-1.2.3/bin/cutemaze had a zero exit code or showed the expected version
- 0 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 1.2.3 with grep in /nix/store/sqmwkpsp62yarxbxil0xwl6c7434bhns-cutemaze-1.2.3
- directory tree listing: https://gist.github.com/a8cfdfb66984a0f73bf7653f74bd4875
- du listing: https://gist.github.com/ad7863094421835157fc96f90206e350
2018-06-07 11:04:01 +02:00

29 lines
769 B
Nix

{ stdenv, fetchurl, qmake, qttools, qtsvg }:
stdenv.mkDerivation rec {
name = "cutemaze-${version}";
version = "1.2.3";
src = fetchurl {
url = "https://gottcode.org/cutemaze/${name}-src.tar.bz2";
sha256 = "1gczg8bki9d2kkkkrac5wi4vnjdynv8xjw2qxn9lx1jfkm8fk1qk";
};
nativeBuildInputs = [ qmake qttools ];
buildInputs = [ qtsvg ];
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
mkdir -p $out/Applications
mv CuteMaze.app $out/Applications
'';
meta = with stdenv.lib; {
homepage = https://gottcode.org/cutemaze/;
description = "Simple, top-down game in which mazes are randomly generated";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ];
platforms = platforms.unix;
};
}