1{stdenv, pkgconfig, fetchurl}:
2
3stdenv.mkDerivation rec {
4 name = "libspiro-${version}";
5 version = "0.5.20150702";
6 src = fetchurl {
7 url = "https://github.com/fontforge/libspiro/releases/download/${version}/${name}.tar.gz";
8 sha256 = "0z4zpxd3nwwchqdsbmmjbp13aw5jg8v5p1993190bpykkrjlh6nv";
9 };
10
11 nativeBuildInputs = [pkgconfig];
12
13 meta = with stdenv.lib; {
14 description = "A library that simplifies the drawing of beautiful curves";
15 homepage = https://github.com/fontforge/libspiro;
16 license = licenses.gpl3Plus;
17 };
18}