git.iko.soy/typeable/nixpkgs
on master help sign in
azpainter: 2.1.6 -> 3.0.4

* azpainter: 2.1.6 -> 3.0.4 (#157548) * github -> gitlab * 3.0 "remade as a whole" (translated) * new deps * azpainter: add libiconv input on Darwin and add build-time commands and enable parallel building and update meta.homepage Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>

commite155371d1e56c9906e9c31e06403b042b955a88d authorWill Dietz <w@wdtz.org> dateWed 16 Feb 2022, 14:07 (5 years ago) parent5d7a973
1 file changed+20−11
pkgs/applications/graphics/azpainter/default.nix+20−11
pkgs/applications/graphics/azpainter/default.nix+20−11
@@ -1,31 +1,40 @@
1−{ lib, stdenv, fetchFromGitHub
2−, libX11, libXext, libXi
1+{ lib, stdenv, fetchFromGitLab
2+, desktop-file-utils, shared-mime-info
3+, libiconv
4+, libX11, libXcursor, libXext, libXi
35, freetype, fontconfig
4−, libpng, libjpeg
6+, libjpeg, libpng, libtiff, libwebp
57, zlib
68}:
79
810stdenv.mkDerivation rec {
911 pname = "azpainter";
10− version = "2.1.6";
12+ version = "3.0.4";
1113
12− src = fetchFromGitHub {
13− owner = "Symbian9";
14+ src = fetchFromGitLab {
15+ owner = "azelpg";
1416 repo = pname;
1517 rev = "v${version}";
16− sha256 = "0i5g67s4ysnvbaxmi7dhan0hfcfk8an14xykkafl47pqfx33npva";
18+ hash = "sha256-2gTTF1ti9bO24d75mhwyvJISSgMKdmp+oJVmgzEQHdY=";
1719 };
1820
21+ nativeBuildInputs = [
22+ desktop-file-utils # for update-desktop-database
23+ shared-mime-info # for update-mime-info
24+ ];
25+
1926 buildInputs = [
20− libX11 libXext libXi
27+ libX11 libXcursor libXext libXi
2128 freetype fontconfig
22− libpng libjpeg
29+ libjpeg libpng libtiff libwebp
2330 zlib
24− ];
31+ ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
32+
33+ enableParallelBuilding = true;
2534
2635 meta = with lib; {
2736 description = "Full color painting software for illustration drawing";
28− homepage = "https://osdn.net/projects/azpainter";
37+ homepage = "http://azsky2.html.xdomain.jp/soft/azpainter.html";
2938 license = licenses.gpl3Plus;
3039 maintainers = with maintainers; [ dtzWill ];
3140 platforms = with platforms; linux ++ darwin;