Merge pull request #237819 from Gobidev/pfetch-rs-2.7.0

pfetch-rs: init at 2.7.0
This commit is contained in:
Pol Dellaiera 2023-06-21 05:05:21 +02:00 committed by GitHub
commit fc1f73daed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 0 deletions

View File

@ -5933,6 +5933,15 @@
githubId = 25820499;
name = "Roman Kretschmer";
};
gobidev = {
email = "adrian.groh@t-online.de";
github = "Gobidev";
githubId = 50576978;
name = "Adrian Groh";
keys = [{
fingerprint = "62BD BF30 83E9 7076 9665 B60B 3AA3 153E 98B0 D771";
}];
};
goertzenator = {
email = "daniel.goertzen@gmail.com";
github = "goertzenator";

View 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 ];
};
}

View File

@ -11362,6 +11362,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 { };