2019-09-02 09:07:45 +00:00
|
|
|
{ stdenv
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, fetchFromGitHub
|
|
|
|
, glib
|
|
|
|
, intltool
|
|
|
|
, json_c
|
|
|
|
, libtool
|
|
|
|
, pkgconfig
|
2019-11-28 12:56:44 +00:00
|
|
|
, python3
|
2019-09-02 09:07:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "libmypaint";
|
2020-05-02 15:03:19 +00:00
|
|
|
version = "1.6.0";
|
2019-09-02 09:59:27 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
2017-06-30 18:53:45 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mypaint";
|
|
|
|
repo = "libmypaint";
|
|
|
|
rev = "v${version}";
|
2020-05-02 15:03:19 +00:00
|
|
|
sha256 = "1fdyywm915mmilfmzp7lz4rnmm05kkw0adrdqpqi4n8icp4d530g";
|
2017-06-30 18:53:45 +00:00
|
|
|
};
|
|
|
|
|
2019-09-02 09:07:45 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
intltool
|
|
|
|
libtool
|
|
|
|
pkgconfig
|
2019-11-28 12:56:44 +00:00
|
|
|
python3
|
2019-09-02 09:07:45 +00:00
|
|
|
];
|
2017-06-30 18:53:45 +00:00
|
|
|
|
2019-09-02 09:07:45 +00:00
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
];
|
2017-06-30 18:53:45 +00:00
|
|
|
|
2019-09-02 09:07:45 +00:00
|
|
|
# for libmypaint.pc
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
json_c
|
|
|
|
];
|
2017-06-30 18:53:45 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-03-02 13:09:14 +00:00
|
|
|
homepage = "http://mypaint.org/";
|
2017-06-30 18:53:45 +00:00
|
|
|
description = "Library for making brushstrokes which is used by MyPaint and other projects";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ goibhniu jtojnar ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|