hyfetch: 1.99.0 -> 2.0.1
Changelog: https://github.com/hykilpikonna/hyfetch/releases/tag/2.0.1 Diff: https://github.com/hykilpikonna/hyfetch/compare/1.99.0...2.0.1
This commit is contained in:
@@ -1,44 +1,28 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
python3Packages,
|
||||
pciutils,
|
||||
installShellFiles,
|
||||
makeBinaryWrapper,
|
||||
pciutils,
|
||||
}:
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "hyfetch";
|
||||
version = "1.99.0";
|
||||
pyproject = true;
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"man"
|
||||
];
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "hyfetch";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hykilpikonna";
|
||||
repo = "hyfetch";
|
||||
tag = version;
|
||||
hash = "sha256-GL1/V+LgSXJ4b28PfinScDrJhU9VDa4pVi24zWEzbAk=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-OaMwUTBBpFrco2Wcodb7+3ywdD5bXDebBFEoJYsgAbE=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
python3Packages.setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
python3Packages.typing-extensions
|
||||
];
|
||||
cargoHash = "sha256-xm8q4EG7qfaz/Ru/FVRiWIQW2Tjh9Ar0MquVQVLDSRA=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
# No test available
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"hyfetch"
|
||||
makeBinaryWrapper
|
||||
];
|
||||
|
||||
# NOTE: The HyFetch project maintains an updated version of neofetch renamed
|
||||
@@ -48,6 +32,8 @@ python3Packages.buildPythonApplication rec {
|
||||
postInstall = ''
|
||||
mv ./docs/neofetch.1 ./docs/neowofetch.1
|
||||
installManPage ./docs/hyfetch.1 ./docs/neowofetch.1
|
||||
|
||||
install -m 755 neofetch $out/bin/neowofetch
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
@@ -55,8 +41,13 @@ python3Packages.buildPythonApplication rec {
|
||||
--prefix PATH : ${lib.makeBinPath [ pciutils ]}
|
||||
'';
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"man"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Neofetch with pride flags <3";
|
||||
description = "Neofetch with LGBTQ+ pride flags";
|
||||
longDescription = ''
|
||||
HyFetch is a command-line system information tool fork of neofetch.
|
||||
HyFetch displays information about your system next to your OS logo
|
||||
@@ -66,7 +57,8 @@ python3Packages.buildPythonApplication rec {
|
||||
operating system or distribution you are running, what theme or
|
||||
icon set you are using, etc.
|
||||
'';
|
||||
homepage = "https://github.com/hykilpikonna/HyFetch";
|
||||
homepage = "https://github.com/hykilpikonna/hyfetch";
|
||||
changelog = "https://github.com/hykilpikonna/hyfetch/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "hyfetch";
|
||||
maintainers = with lib.maintainers; [
|
||||
@@ -75,4 +67,4 @@ python3Packages.buildPythonApplication rec {
|
||||
nullcube
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user