depot/third_party/nixpkgs/pkgs/development/libraries/audio/libsmf/default.nix
Default email 2ce5db779a Project import generated by Copybara.
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
2022-05-18 16:49:53 +02:00

25 lines
675 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 = "A C library for reading and writing Standard MIDI Files";
homepage = "https://github.com/stump/libsmf";
license = licenses.bsd2;
maintainers = [ maintainers.goibhniu ];
mainProgram = "smfsh";
platforms = platforms.unix;
};
}