mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
43 lines
1.3 KiB
Nix
43 lines
1.3 KiB
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, pkg-config
|
|
, freetype, giflib, gtk3, lcms2, libjpeg, libpng, libtiff, openjpeg, gifsicle
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mtPaint";
|
|
version = "3.50.01";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wjaguar";
|
|
repo = "mtPaint";
|
|
rev = "a4675ff5cd9fcd57d291444cb9f332b48f11243f";
|
|
sha256 = "04wqxz8i655gz5rnz90cksy8v6m2jhcn1j8rzhqpp5xhawlmq24y";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
freetype giflib gtk3 lcms2 libjpeg libpng libtiff openjpeg gifsicle
|
|
];
|
|
|
|
configureFlags = [ "gtk3" "intl" "man" ];
|
|
|
|
meta = {
|
|
description = "Simple GTK painting program";
|
|
longDescription = ''
|
|
mtPaint is a simple GTK painting program designed for
|
|
creating icons and pixel based artwork. It can edit indexed palette
|
|
or 24 bit RGB images and offers basic painting and palette manipulation
|
|
tools. It also has several other more powerful features such as channels,
|
|
layers and animation.
|
|
Due to its simplicity and lack of dependencies it runs well on
|
|
GNU/Linux, Windows and older PC hardware.
|
|
'';
|
|
homepage = "https://mtpaint.sourceforge.net/";
|
|
license = lib.licenses.gpl3Plus;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = [ lib.maintainers.vklquevs ];
|
|
mainProgram = "mtpaint";
|
|
};
|
|
}
|
|
|