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/tools/misc/pipe-rename/default.nix
Normal file
27
pkgs/tools/misc/pipe-rename/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, rustPlatform, fetchCrate, python3 }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "pipe-rename";
|
||||
version = "1.4.1";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-3Jl/G1QqcChwkI5n1zQLBgGxT2CYdh3XdMHkF+V5SG4=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-y5BsdkHrjJHNO66MQTbvA6kKx6tLP7jNk5UmAmslz14=";
|
||||
|
||||
checkInputs = [ python3 ];
|
||||
|
||||
preCheck = ''
|
||||
patchShebangs tests/editors/env-editor.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Rename your files using your favorite text editor";
|
||||
homepage = "https://github.com/marcusbuffet/pipe-rename";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
mainProgram = "renamer";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue