onefetch: init at 2.1.0
Co-authored-by: Kloenk <Kloenk@users.noreply.github.com>
This commit is contained in:
parent
f0b5b247d9
commit
fb00dacecc
26
pkgs/tools/misc/onefetch/default.nix
Normal file
26
pkgs/tools/misc/onefetch/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ fetchFromGitHub, rustPlatform, stdenv
|
||||||
|
, CoreFoundation, libiconv, libresolv, Security }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "onefetch";
|
||||||
|
version = "2.1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "o2sh";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "02mdzpzfcxp9na86b4jcqqjd3id5jslgmnq1jc0vykg58xha51jg";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "1phv06zf47bv5cmhypivljfiynrblha0kj13c5al9l0hd1xx749h";
|
||||||
|
|
||||||
|
buildInputs = with stdenv;
|
||||||
|
lib.optionals isDarwin [ CoreFoundation libiconv libresolv Security ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Git repository summary on your terminal";
|
||||||
|
homepage = "https://github.com/o2sh/onefetch";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ filalex77 ];
|
||||||
|
};
|
||||||
|
}
|
@ -5336,6 +5336,11 @@ in
|
|||||||
|
|
||||||
omping = callPackage ../applications/networking/omping { };
|
omping = callPackage ../applications/networking/omping { };
|
||||||
|
|
||||||
|
onefetch = callPackage ../tools/misc/onefetch {
|
||||||
|
inherit (darwin) libresolv;
|
||||||
|
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
||||||
|
};
|
||||||
|
|
||||||
onioncircuits = callPackage ../tools/security/onioncircuits { };
|
onioncircuits = callPackage ../tools/security/onioncircuits { };
|
||||||
|
|
||||||
openapi-generator-cli = callPackage ../tools/networking/openapi-generator-cli { };
|
openapi-generator-cli = callPackage ../tools/networking/openapi-generator-cli { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user