mypaint: 1.1.0 -> 1.2.1 (#27004)
This commit is contained in:
parent
c64d8eaaea
commit
e02d40c33e
@ -267,6 +267,7 @@
|
|||||||
jpierre03 = "Jean-Pierre PRUNARET <nix@prunetwork.fr>";
|
jpierre03 = "Jean-Pierre PRUNARET <nix@prunetwork.fr>";
|
||||||
jpotier = "Martin Potier <jpo.contributes.to.nixos@marvid.fr>";
|
jpotier = "Martin Potier <jpo.contributes.to.nixos@marvid.fr>";
|
||||||
jraygauthier = "Raymond Gauthier <jraygauthier@gmail.com>";
|
jraygauthier = "Raymond Gauthier <jraygauthier@gmail.com>";
|
||||||
|
jtojnar = "Jan Tojnar <jtojnar@gmail.com>";
|
||||||
juliendehos = "Julien Dehos <dehos@lisic.univ-littoral.fr>";
|
juliendehos = "Julien Dehos <dehos@lisic.univ-littoral.fr>";
|
||||||
jwiegley = "John Wiegley <johnw@newartisans.com>";
|
jwiegley = "John Wiegley <johnw@newartisans.com>";
|
||||||
jwilberding = "Jordan Wilberding <jwilberding@afiniate.com>";
|
jwilberding = "Jordan Wilberding <jwilberding@afiniate.com>";
|
||||||
|
@ -1,41 +1,42 @@
|
|||||||
{ stdenv, fetchurl, gettext, glib, gtk2, hicolor_icon_theme, json_c
|
{ stdenv, fetchFromGitHub, gtk3, intltool, json_c, lcms2, libpng, librsvg,
|
||||||
, lcms2, libpng , makeWrapper, pkgconfig, python2Packages
|
pkgconfig, python2Packages, scons, swig, wrapGAppsHook }:
|
||||||
, scons, swig
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (python2Packages) python pygtk numpy;
|
inherit (python2Packages) python pycairo pygobject3 numpy;
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "mypaint-${version}";
|
name = "mypaint-${version}";
|
||||||
version = "1.1.0";
|
version = "1.2.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://download.gna.org/mypaint/${name}.tar.bz2";
|
owner = "mypaint";
|
||||||
sha256 = "0f7848hr65h909c0jkcx616flc0r4qh53g3kd1cgs2nr1pjmf3bq";
|
repo = "mypaint";
|
||||||
|
rev = "bcf5a28d38bbd586cc9d4cee223f849fa303864f";
|
||||||
|
sha256 = "1zwx7n629vz1jcrqjqmw6vl6sxdf81fq6a5jzqiga8167gg8s9pf";
|
||||||
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
nativeBuildInputs = [ intltool pkgconfig scons swig wrapGAppsHook ];
|
||||||
gettext glib gtk2 json_c lcms2 libpng makeWrapper pkgconfig pygtk
|
|
||||||
python scons swig
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ hicolor_icon_theme numpy ];
|
buildInputs = [ gtk3 json_c lcms2 libpng librsvg pycairo pygobject3 python ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ numpy ];
|
||||||
|
|
||||||
buildPhase = "scons prefix=$out";
|
buildPhase = "scons prefix=$out";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
scons prefix=$out install
|
scons prefix=$out install
|
||||||
sed -i -e 's|/usr/bin/env python2.7|${python}/bin/python|' $out/bin/mypaint
|
sed -i -e 's|/usr/bin/env python2.7|${python}/bin/python|' $out/bin/mypaint
|
||||||
wrapProgram $out/bin/mypaint \
|
'';
|
||||||
--prefix PYTHONPATH : $PYTHONPATH \
|
|
||||||
--prefix XDG_DATA_DIRS ":" "${hicolor_icon_theme}/share"
|
preFixup = ''
|
||||||
|
gappsWrapperArgs+=(--prefix PYTHONPATH : $PYTHONPATH)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A graphics application for digital painters";
|
description = "A graphics application for digital painters";
|
||||||
homepage = http://mypaint.intilinux.com;
|
homepage = http://mypaint.org/;
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.goibhniu ];
|
maintainers = with maintainers; [ goibhniu jtojnar ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user