{ lib, stdenv, fetchurl, glib, pkgconfig }: stdenv.mkDerivation rec { version = "1.3"; name = "libsmf-${version}"; src = fetchurl { url = "https://github.com/stump/libsmf/archive/${name}.tar.gz"; sha256 = "1527pcc1vd0l5iks2yw8m0bymcrnih2md5465lwpzw0wgy4rky7n"; }; buildInputs = [ glib pkgconfig ]; meta = with stdenv.lib; { description = "A C library for reading and writing Standard MIDI Files"; homepage = https://github.com/stump/libsmf; license = licenses.bsd2; maintainers = [ maintainers.goibhniu ]; platforms = platforms.linux; }; }