2022-01-03 16:56:52 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, glib, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.3";
|
|
|
|
pname = "libsmf";
|
2022-01-03 16:56:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "stump";
|
|
|
|
repo = "libsmf";
|
|
|
|
rev = "libsmf-${version}";
|
|
|
|
sha256 = "sha256-OJXJkXvbM2GQNInZXU2ldObquKHhqkdu1zqUDnVZN0Y=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ glib ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A C library for reading and writing Standard MIDI Files";
|
|
|
|
homepage = "https://github.com/stump/libsmf";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2022-05-18 14:49:53 +00:00
|
|
|
mainProgram = "smfsh";
|
2021-10-04 12:37:57 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|