uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
28
pkgs/os-specific/linux/aseq2json/default.nix
Normal file
28
pkgs/os-specific/linux/aseq2json/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, lib, fetchFromGitHub, pkg-config, alsa-lib, glib, json-glib }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "aseq2json";
|
||||
version = "unstable-2018-04-28";
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "midi-dump-tools";
|
||||
rev = "8572e6313a0d7ec95492dcab04a46c5dd30ef33a";
|
||||
sha256 = "LQ9LLVumi3GN6c9tuMSOd1Bs2pgrwrLLQbs5XF+NZeA=";
|
||||
};
|
||||
sourceRoot = "source/aseq2json";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ alsa-lib glib json-glib ];
|
||||
|
||||
installPhase = ''
|
||||
install -D --target-directory "$out/bin" aseq2json
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Listens for MIDI events on the Alsa sequencer and outputs as JSON to stdout";
|
||||
homepage = "https://github.com/google/midi-dump-tools";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.queezle ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue