f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
25 lines
652 B
Nix
25 lines
652 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, glib, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.3";
|
|
pname = "libsmf";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stump";
|
|
repo = "libsmf";
|
|
rev = "libsmf-${version}";
|
|
sha256 = "sha256-OJXJkXvbM2GQNInZXU2ldObquKHhqkdu1zqUDnVZN0Y=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ glib ];
|
|
|
|
meta = with lib; {
|
|
description = "C library for reading and writing Standard MIDI Files";
|
|
homepage = "https://github.com/stump/libsmf";
|
|
license = licenses.bsd2;
|
|
maintainers = [ ];
|
|
mainProgram = "smfsh";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|