33 lines
853 B
Nix
33 lines
853 B
Nix
|
{stdenv, autoconf, automake, fetchFromGitHub, glib, intltool, json_c, libtool, pkgconfig}:
|
||
|
|
||
|
let
|
||
|
version = "1.3.0";
|
||
|
in stdenv.mkDerivation rec {
|
||
|
name = "libmypaint-${version}";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "mypaint";
|
||
|
repo = "libmypaint";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "0b7aynr6ggigwhjkfzi8x3dwz15blj4grkg9hysbgjh6lvzpy9jc";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [ autoconf automake intltool libtool pkgconfig ];
|
||
|
|
||
|
buildInputs = [ glib ];
|
||
|
|
||
|
propagatedBuildInputs = [ json_c ]; # for libmypaint.pc
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
}
|