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
38
pkgs/applications/audio/orca-c/default.nix
Normal file
38
pkgs/applications/audio/orca-c/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib, stdenv, fetchgit, ncurses, portmidi }:
|
||||
stdenv.mkDerivation {
|
||||
pname = "orca-c";
|
||||
version = "unstable-2021-02-13";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.sr.ht/~rabbits/orca";
|
||||
rev = "5ba56ca67baae3db140f8b7a2b2fc46bbac5602f";
|
||||
sha256 = "sha256-bbIH0kyHRTcMGXV3WdBQIH1br0FyIzKKL88wqpGZ0NY=";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses portmidi ];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs tool
|
||||
sed -i tool \
|
||||
-e 's@ncurses_dir=.*@ncurses_dir="${ncurses}"@' \
|
||||
-e 's@portmidi_dir=.*@portmidi_dir="${portmidi}"@' tool
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
install build/orca $out/bin/orca
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An esoteric programming language designed to quickly create procedural sequencers";
|
||||
homepage = "https://git.sr.ht/~rabbits/orca";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ netcrns ];
|
||||
mainProgram = "orca";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue