Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 64 lines 1.4 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 pkg-config, 6 freetype, 7 giflib, 8 gtk3, 9 lcms2, 10 libjpeg, 11 libpng, 12 libtiff, 13 openjpeg, 14 gifsicle, 15}: 16 17stdenv.mkDerivation { 18 pname = "mtPaint"; 19 version = "3.50.01"; 20 21 src = fetchFromGitHub { 22 owner = "wjaguar"; 23 repo = "mtPaint"; 24 rev = "a4675ff5cd9fcd57d291444cb9f332b48f11243f"; 25 sha256 = "04wqxz8i655gz5rnz90cksy8v6m2jhcn1j8rzhqpp5xhawlmq24y"; 26 }; 27 28 nativeBuildInputs = [ pkg-config ]; 29 buildInputs = [ 30 freetype 31 giflib 32 gtk3 33 lcms2 34 libjpeg 35 libpng 36 libtiff 37 openjpeg 38 gifsicle 39 ]; 40 41 configureFlags = [ 42 "gtk3" 43 "intl" 44 "man" 45 ]; 46 47 meta = { 48 description = "Simple GTK painting program"; 49 longDescription = '' 50 mtPaint is a simple GTK painting program designed for 51 creating icons and pixel based artwork. It can edit indexed palette 52 or 24 bit RGB images and offers basic painting and palette manipulation 53 tools. It also has several other more powerful features such as channels, 54 layers and animation. 55 Due to its simplicity and lack of dependencies it runs well on 56 GNU/Linux, Windows and older PC hardware. 57 ''; 58 homepage = "https://mtpaint.sourceforge.net/"; 59 license = lib.licenses.gpl3Plus; 60 platforms = lib.platforms.linux; 61 maintainers = [ lib.maintainers.vklquevs ]; 62 mainProgram = "mtpaint"; 63 }; 64}