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
30
pkgs/applications/misc/sigi/default.nix
Normal file
30
pkgs/applications/misc/sigi/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, rustPlatform, fetchCrate, installShellFiles, testers, sigi }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "sigi";
|
||||
version = "3.4.0";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-wqdgrFeB3YuMo/r4ndqRZCz+M1WuUvX2pHHkyNMdnvo=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-103zhlskzhEj6oUam7YDRWiSPTaV2PPJhzP7QeMBtDQ=";
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
# In case anything goes wrong.
|
||||
checkFlags = [ "RUST_BACKTRACE=1" ];
|
||||
|
||||
postInstall = ''
|
||||
installManPage sigi.1
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion { package = sigi; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Organizing CLI for people who don't love organizing.";
|
||||
homepage = "https://github.com/hiljusti/sigi";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ hiljusti ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue