blob: 7e49b872a6a57650ef237d6a89cb63893ff6a027 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ stdenv
, fetchFromGitHub
, cmake
, alsaLib
, libX11
}:
stdenv.mkDerivation rec {
pname = "osmid";
version = "0.6.8";
src = fetchFromGitHub {
owner = "llloret";
repo = "osmid";
rev = "v${version}";
sha256 = "1yl25abf343yvd49nfsgxsz7jf956zrsi5n4xyqb5ldlp2hifk15";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ alsaLib libX11 ];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp {m2o,o2m} $out/bin/
runHook postInstall
'';
meta = with stdenv.lib; {
homepage = "https://github.com/llloret/osmid";
description = "A lightweight, portable, easy to use tool to convert MIDI to OSC and OSC to MIDI";
license = licenses.mit;
maintainers = with maintainers; [ c0deaddict ];
platforms = platforms.linux;
};
}
|