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
27
pkgs/development/tools/database/termdbms/default.nix
Normal file
27
pkgs/development/tools/database/termdbms/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, fetchFromGitHub, buildGoModule }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "termdbms";
|
||||
version = "unstable-2021-09-04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mathaou";
|
||||
repo = "termdbms";
|
||||
rev = "d46e72c796e8aee0def71b8e3499b0ebe5ca3385";
|
||||
sha256 = "1c3xgidhmvlcdw7v5gcqzv27cb58f1ix8sfd4r14rfz7c8kbv37v";
|
||||
};
|
||||
|
||||
vendorSha256 = "0h9aw68niizd9gs0i890g6ij13af04qgpfy1g5pskyr4ryx0gn26";
|
||||
|
||||
patches = [ ./viewer.patch ];
|
||||
|
||||
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mathaou/termdbms/";
|
||||
description = "A TUI for viewing and editing database files";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ izorkin ];
|
||||
mainProgram = "sqlite3-viewer";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue