9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
27 lines
691 B
Nix
27 lines
691 B
Nix
{ lib, rustPlatform, fetchCrate, python3 }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "pipe-rename";
|
|
version = "1.6.5";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-av/ig76O7t3dB4Irfi3yqyL30nkJJCzs5EayWRbpOI0=";
|
|
};
|
|
|
|
cargoHash = "sha256-3p6Bf9UfCb5uc5rp/yuXixcDkuXfTiboLl8TI0O52hE=";
|
|
|
|
nativeCheckInputs = [ python3 ];
|
|
|
|
preCheck = ''
|
|
patchShebangs tests/editors/env-editor.py
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Rename your files using your favorite text editor";
|
|
homepage = "https://github.com/marcusbuffett/pipe-rename";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
mainProgram = "renamer";
|
|
};
|
|
}
|