mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
26 lines
673 B
Nix
26 lines
673 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 = [ maintainers.goibhniu ];
|
|
mainProgram = "smfsh";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|