nixpkgs/pkgs/development/libraries/libmypaint/default.nix

56 lines
934 B
Nix
Raw Normal View History

2019-09-02 11:07:45 +02:00
{ stdenv
, autoconf
, automake
, fetchFromGitHub
, glib
, intltool
, json_c
, libtool
, pkgconfig
, python2
2019-09-02 11:07:45 +02:00
}:
stdenv.mkDerivation rec {
2019-08-13 23:52:01 +02:00
pname = "libmypaint";
version = "1.4.0";
outputs = [ "out" "dev" ];
2017-06-30 20:53:45 +02:00
src = fetchFromGitHub {
owner = "mypaint";
repo = "libmypaint";
rev = "v${version}";
sha256 = "1ynm2g2wdb9zsymncndlgs6gpcbsa122n52d11161jrj5nrdliaq";
2017-06-30 20:53:45 +02:00
};
2019-09-02 11:07:45 +02:00
nativeBuildInputs = [
autoconf
automake
intltool
libtool
pkgconfig
python2
2019-09-02 11:07:45 +02:00
];
2017-06-30 20:53:45 +02:00
2019-09-02 11:07:45 +02:00
buildInputs = [
glib
];
2017-06-30 20:53:45 +02:00
2019-09-02 11:07:45 +02:00
# for libmypaint.pc
propagatedBuildInputs = [
json_c
];
2017-06-30 20:53:45 +02:00
doCheck = true;
preConfigure = "./autogen.sh";
meta = with stdenv.lib; {
homepage = http://mypaint.org/;
description = "Library for making brushstrokes which is used by MyPaint and other projects";
license = licenses.isc;
maintainers = with maintainers; [ goibhniu jtojnar ];
platforms = platforms.unix;
};
}