mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
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>
31 lines
688 B
Nix
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";
|
|
};
|
|
}
|