mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
ea: init at 0.2.1 (#204816)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
f668826e13
commit
1b299a2e6c
31
pkgs/tools/misc/ea/default.nix
Normal file
31
pkgs/tools/misc/ea/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, libiconv }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "dduan";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dduan";
|
||||
repo = "ea";
|
||||
rev = version;
|
||||
sha256 = "VXSSe5d7VO3LfjumzN9a7rrKRedOtOzTdLVQWgV1ED8=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-QNj24qKZFqG4QXG6rIFV2Y/BNPTXt7HaX7smsJRrdzg=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
libiconv
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
installManPage docs/ea.1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Makes file paths from CLI output actionable";
|
||||
homepage = "https://github.com/dduan/ea";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ deejayem ];
|
||||
};
|
||||
}
|
@ -468,6 +468,8 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
ea = callPackage ../tools/misc/ea { };
|
||||
|
||||
each = callPackage ../tools/text/each { };
|
||||
|
||||
eclipse-mat = callPackage ../development/tools/eclipse-mat { };
|
||||
|
Loading…
Reference in New Issue
Block a user