diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2017-06-30 20:53:45 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2017-12-23 05:38:06 +0100 |
commit | 407721b73b55d72394dabe025d741e13113aeac5 (patch) | |
tree | ec33230e4c466385749bf4bcfd5e1ef8dd801f8d /pkgs/development/libraries/libmypaint/default.nix | |
parent | 5fc5a9f3991f5813d664166776d2f32c014cd0c2 (diff) |
libmypaint: init at 1.3.0
Diffstat (limited to 'pkgs/development/libraries/libmypaint/default.nix')
-rw-r--r-- | pkgs/development/libraries/libmypaint/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libmypaint/default.nix b/pkgs/development/libraries/libmypaint/default.nix new file mode 100644 index 0000000000000..0583d94ef7f45 --- /dev/null +++ b/pkgs/development/libraries/libmypaint/default.nix @@ -0,0 +1,32 @@ +{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; + }; +} |