Merge pull request #69084 from c0deaddict/feature/init-osmid
osmid: init at 0.6.8
This commit is contained in:
commit
8310533289
37
pkgs/applications/audio/osmid/default.nix
Normal file
37
pkgs/applications/audio/osmid/default.nix
Normal file
|
@ -0,0 +1,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;
|
||||
};
|
||||
}
|
|
@ -12964,6 +12964,8 @@ in
|
|||
|
||||
osm-gps-map = callPackage ../development/libraries/osm-gps-map { };
|
||||
|
||||
osmid = callPackage ../applications/audio/osmid {};
|
||||
|
||||
osinfo-db = callPackage ../data/misc/osinfo-db { };
|
||||
osinfo-db-tools = callPackage ../tools/misc/osinfo-db-tools { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue