2021-06-28 23:13:55 +00:00
|
|
|
{ lib, stdenv, fetchurl, alsa-lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, version ? "1.7.1"
|
|
|
|
, sourceSha256 ? "051mv6f13c8y13c1iv3279k1hhzpz4fm9sfczhgp9sim2bjdj055"
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "pmidi";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/pmidi/${version}/pmidi-${version}.tar.gz";
|
|
|
|
sha256 = sourceSha256;
|
|
|
|
};
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
buildInputs = [ alsa-lib ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-07 09:15:18 +00:00
|
|
|
homepage = "https://www.parabola.me.uk/alsa/pmidi.html";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A straightforward command line program to play midi files through the ALSA sequencer";
|
|
|
|
maintainers = with maintainers; [ lheckemann ];
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|