Files
nixpkgs/pkgs/by-name/ev/evilpixie/package.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

58 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
pkg-config,
libsForQt5,
libpng,
giflib,
libjpeg,
impy,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "evilpixie";
version = "0.3.1";
src = fetchFromGitHub {
owner = "bcampbell";
repo = "evilpixie";
rev = "v${finalAttrs.version}";
sha256 = "sha256-+DdAN+xDOYxLgLHUlr75piTEPrWpuOyXvxckhBEl7yU=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
libsForQt5.wrapQtAppsHook
];
buildInputs = [
libsForQt5.qtbase
libpng
giflib
libjpeg
impy
];
meta = {
description = "Pixel-oriented paint program, modelled on Deluxe Paint";
mainProgram = "evilpixie";
homepage = "https://github.com/bcampbell/evilpixie"; # http://evilpixie.scumways.com/ is gone
downloadPage = "https://github.com/bcampbell/evilpixie/releases";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fgaz ];
platforms = lib.platforms.all;
# Undefined symbols for architecture x86_64:
# "_bundle_path", referenced from: App::SetupPaths() in src_app.cpp.o
broken =
stdenv.hostPlatform.isDarwin
||
# https://github.com/bcampbell/evilpixie/issues/28
stdenv.hostPlatform.isAarch64;
};
})