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/development/tools/oq/default.nix
Normal file
38
pkgs/development/tools/oq/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, crystal
|
||||
, jq
|
||||
, libxml2
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
crystal.buildCrystalPackage rec {
|
||||
pname = "oq";
|
||||
version = "1.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Blacksmoke16";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-iGKyP3NrAnR3ISOBq+YR/vwarlnIY4u4ZwdqSBnBC7U=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ libxml2 ];
|
||||
checkInputs = [ jq ];
|
||||
|
||||
format = "shards";
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/oq" \
|
||||
--prefix PATH : "${lib.makeBinPath [ jq ]}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A performant, and portable jq wrapper";
|
||||
homepage = "https://blacksmoke16.github.io/oq/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Br1ght0ne ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue