libmypaint: use Python 3

Results in binary-indentical library 🎉
This commit is contained in:
Jan Tojnar 2019-11-28 13:56:44 +01:00
parent ca7e098d63
commit 0243f4455b
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -7,7 +7,7 @@
, json_c
, libtool
, pkgconfig
, python2
, python3
}:
stdenv.mkDerivation rec {
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
intltool
libtool
pkgconfig
python2
python3
];
buildInputs = [
@ -43,6 +43,10 @@ stdenv.mkDerivation rec {
doCheck = true;
postPatch = ''
sed 's|python2|python|' -i autogen.sh
'';
preConfigure = "./autogen.sh";
meta = with stdenv.lib; {