mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 04:03:56 +00:00
2e6bf42a22
There ver very many conflicts, basically all due to name -> pname+version. Fortunately, almost everything was auto-resolved by kdiff3, and for now I just fixed up a couple evaluation problems, as verified by the tarball job. There might be some fallback to these conflicts, but I believe it should be minimal. Hydra nixpkgs: ?compare=1538299
29 lines
778 B
Nix
29 lines
778 B
Nix
{ stdenv, fetchurl, qmake, qttools, qtsvg, mkDerivation }:
|
|
|
|
mkDerivation rec {
|
|
pname = "cutemaze";
|
|
version = "1.2.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://gottcode.org/cutemaze/${pname}-${version}-src.tar.bz2";
|
|
sha256 = "1xrjv3h1bpbji1dl9hkcvmp6qk4j618saffl41455vhrzn170lrj";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|