libspiro: 0.5.20150702 -> 20190731

also build from Git
This commit is contained in:
Justin Humm 2020-01-14 16:06:54 +01:00 committed by Frederik Rietdijk
parent 168b3076a7
commit 48d502cd66

View File

@ -1,18 +1,22 @@
{stdenv, pkgconfig, fetchurl}: {stdenv, pkgconfig, autoreconfHook, fetchFromGitHub }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libspiro"; pname = "libspiro";
version = "0.5.20150702"; version = "20190731";
src = fetchurl {
url = "https://github.com/fontforge/libspiro/releases/download/${version}/${pname}-${version}.tar.gz"; src = fetchFromGitHub {
sha256 = "0z4zpxd3nwwchqdsbmmjbp13aw5jg8v5p1993190bpykkrjlh6nv"; owner = "fontforge";
repo = pname;
rev = version;
sha256 = "sha256:1wc6ikjrvcq05jki0ligmxyplgb4nzx6qb5va277qiin8vad9b1v";
}; };
nativeBuildInputs = [pkgconfig]; nativeBuildInputs = [ pkgconfig autoreconfHook ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A library that simplifies the drawing of beautiful curves"; description = "A library that simplifies the drawing of beautiful curves";
homepage = https://github.com/fontforge/libspiro; homepage = https://github.com/fontforge/libspiro;
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = [ maintainers.erictapen ];
}; };
} }