mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
pfetch-rs: init at 2.7.0
This commit adds a new package for pfetch-rs, a rewrite of the pfetch system information tool in Rust
This commit is contained in:
parent
46e39be44e
commit
4424f3c9a0
29
pkgs/tools/misc/pfetch-rs/default.nix
Normal file
29
pkgs/tools/misc/pfetch-rs/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "pfetch-rs";
|
||||
version = "2.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Gobidev";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-KNd6EKYxuSNvWXNERZ+ZGq3HzRbE75LZPcAlfB4Aoyw=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-Zxtf1OPsafm/BexDsHKb4Ei/ca3Nxz7c/U/A0AnAAI4=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.AppKit
|
||||
darwin.apple_sdk.frameworks.DisplayServices
|
||||
];
|
||||
|
||||
|
||||
meta = with lib; {
|
||||
description = "A rewrite of the pfetch system information tool in Rust";
|
||||
homepage = "https://github.com/Gobidev/pfetch-rs";
|
||||
changelog = "https://github.com/Gobidev/pfetch-rs/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ gobidev ];
|
||||
};
|
||||
}
|
@ -11335,6 +11335,8 @@ with pkgs;
|
||||
|
||||
pfetch = callPackage ../tools/misc/pfetch { };
|
||||
|
||||
pfetch-rs = callPackage ../tools/misc/pfetch-rs { };
|
||||
|
||||
pfstools = libsForQt5.callPackage ../tools/graphics/pfstools { };
|
||||
|
||||
phoc = callPackage ../applications/misc/phoc { };
|
||||
|
Loading…
Reference in New Issue
Block a user