depot/third_party/nixpkgs/pkgs/applications/graphics/evilpixie/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

55 lines
1.1 KiB
Nix

{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, wrapQtAppsHook
, qtbase
, libpng
, giflib
, libjpeg
, impy
}:
stdenv.mkDerivation rec {
pname = "evilpixie";
version = "0.3";
src = fetchFromGitHub {
owner = "bcampbell";
repo = "evilpixie";
rev = "v${version}";
sha256 = "sha256-t7ccaMXaCanCyn3oV8WJ11bhF7xTBkd992AheFJpSGQ=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wrapQtAppsHook
];
buildInputs = [
qtbase
libpng
giflib
libjpeg
impy
];
meta = with lib; {
description = "Pixel-oriented paint program, modelled on Deluxe Paint";
homepage = "https://github.com/bcampbell/evilpixie"; # http://evilpixie.scumways.com/ is gone
downloadPage = "https://github.com/bcampbell/evilpixie/releases";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
# 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;
};
}