summary refs log tree commit diff
path: root/pkgs/development/libraries/audio/libsmf/default.nix
blob: 1c5a5302d71c191cbd995aa6e2b993bc358eeb94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, autoreconfHook, glib, pkgconfig }:

stdenv.mkDerivation rec {
  version = "1.3";
  pname = "libsmf";
  src = fetchurl {
    url = "https://github.com/stump/libsmf/archive/${pname}-${version}.tar.gz";
    sha256 = "1527pcc1vd0l5iks2yw8m0bymcrnih2md5465lwpzw0wgy4rky7n";
  };

  nativeBuildInputs = [ autoreconfHook pkgconfig ];
  buildInputs = [ glib ];

  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;
  };
}