2022-12-12 22:49:13 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-06-15 18:43:39 +02:00
|
|
|
, fetchFromGitHub
|
2022-12-12 22:49:13 +01:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, wrapQtAppsHook
|
2020-06-15 18:43:39 +02:00
|
|
|
, qtbase
|
|
|
|
, libpng
|
|
|
|
, giflib
|
2022-12-12 22:49:13 +01:00
|
|
|
, libjpeg
|
2020-06-15 18:43:39 +02:00
|
|
|
, impy
|
|
|
|
}:
|
|
|
|
|
2024-02-19 16:02:13 +01:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-06-15 18:43:39 +02:00
|
|
|
pname = "evilpixie";
|
2022-12-17 09:44:31 +01:00
|
|
|
version = "0.3.1";
|
2020-06-15 18:43:39 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bcampbell";
|
|
|
|
repo = "evilpixie";
|
2024-02-19 16:02:13 +01:00
|
|
|
rev = "v${finalAttrs.version}";
|
2022-12-17 09:44:31 +01:00
|
|
|
sha256 = "sha256-+DdAN+xDOYxLgLHUlr75piTEPrWpuOyXvxckhBEl7yU=";
|
2020-06-15 18:43:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2022-12-12 22:49:13 +01:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
wrapQtAppsHook
|
2020-06-15 18:43:39 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
libpng
|
|
|
|
giflib
|
2022-12-12 22:49:13 +01:00
|
|
|
libjpeg
|
2020-06-15 18:43:39 +02:00
|
|
|
impy
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pixel-oriented paint program, modelled on Deluxe Paint";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "evilpixie";
|
2022-02-06 10:54:39 +01:00
|
|
|
homepage = "https://github.com/bcampbell/evilpixie"; # http://evilpixie.scumways.com/ is gone
|
2020-06-15 18:43:39 +02:00
|
|
|
downloadPage = "https://github.com/bcampbell/evilpixie/releases";
|
2022-02-06 10:54:39 +01:00
|
|
|
license = licenses.gpl3Only;
|
2020-06-15 18:43:39 +02:00
|
|
|
maintainers = with maintainers; [ fgaz ];
|
|
|
|
platforms = platforms.all;
|
2022-12-12 22:49:13 +01:00
|
|
|
# Undefined symbols for architecture x86_64:
|
|
|
|
# "_bundle_path", referenced from: App::SetupPaths() in src_app.cpp.o
|
|
|
|
broken = stdenv.isDarwin ||
|
|
|
|
# https://github.com/bcampbell/evilpixie/issues/28
|
|
|
|
stdenv.isAarch64;
|
2020-06-15 18:43:39 +02:00
|
|
|
};
|
2024-02-19 16:02:13 +01:00
|
|
|
})
|