1{ lib, stdenv, fetchurl, autoreconfHook, glib, pkg-config }:
2
3stdenv.mkDerivation rec {
4 version = "1.3";
5 pname = "libsmf";
6 src = fetchurl {
7 url = "https://github.com/stump/libsmf/archive/${pname}-${version}.tar.gz";
8 sha256 = "1527pcc1vd0l5iks2yw8m0bymcrnih2md5465lwpzw0wgy4rky7n";
9 };
10
11 nativeBuildInputs = [ autoreconfHook pkg-config ];
12 buildInputs = [ glib ];
13
14 meta = with lib; {
15 description = "A C library for reading and writing Standard MIDI Files";
16 homepage = "https://github.com/stump/libsmf";
17 license = licenses.bsd2;
18 maintainers = [ maintainers.goibhniu ];
19 platforms = platforms.unix;
20 };
21}