1{lib, stdenv, pkg-config, autoreconfHook, fetchFromGitHub }:
2
3stdenv.mkDerivation rec {
4 pname = "libspiro";
5 version = "20221101";
6
7 src = fetchFromGitHub {
8 owner = "fontforge";
9 repo = pname;
10 rev = version;
11 sha256 = "sha256-/9UCrdq69RO22593qiA8pZ4qfY9UVGqlGYB9zatsOgw=";
12 };
13
14 nativeBuildInputs = [ pkg-config autoreconfHook ];
15
16 meta = with lib; {
17 description = "Library that simplifies the drawing of beautiful curves";
18 homepage = "https://github.com/fontforge/libspiro";
19 license = licenses.gpl3Plus;
20 maintainers = [ maintainers.erictapen ];
21 };
22}