Files
nixpkgs/pkgs/by-name/ow/owofetch/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

31 lines
688 B
Nix

{
lib,
stdenvNoCC,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "owofetch";
version = "0.3.1";
src = fetchFromGitHub {
owner = "netthier";
repo = "owofetch-rs";
rev = "v${version}";
sha256 = "sha256-I8mzOUvm72KLLBumpgn9gNyx9FKvUrB4ze1iM1+OA18=";
};
cargoHash = "sha256-0ON1h8+ruLOvBR7Q/hOIW6j+BjfPAAuYA2wrUYj59Ow=";
meta = {
description = "Alternative to *fetch, uwuifies all stats";
homepage = "https://github.com/netthier/owofetch-rs";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.x86_64;
maintainers = with lib.maintainers; [ nullishamy ];
mainProgram = "owofetch";
};
}