Unverified Commit 823c7888 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

rustfetch: init at 0.2.0 (#491498)

parents 0bd091c0 390455cd
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -14830,6 +14830,11 @@
    githubId = 736291;
    name = "Lee Machin";
  };
  lefaucheur0769 = {
    name = "LeFaucheur0769";
    github = "LeFaucheur0769";
    githubId = 90474269;
  };
  legojames = {
    github = "jrobinson-uk";
    githubId = 4701504;
+27 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  rustPlatform,
}:
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "rustfetch";
  version = "0.2.0";

  src = fetchFromGitHub {
    owner = "lemuray";
    repo = "rustfetch";
    tag = "v${finalAttrs.version}";
    hash = "sha256-iGcxDKl36kbEi+OiH4gB2+HxP37bpqAMZguIXDzq3Jw=";
  };
  cargoHash = "sha256-87wfFczmgCft4ke/RQKi54wvqFKGRJMtqhkwQgDCedg=";

  meta = {
    description = "CLI tool designed to fetch system information in the fastest and safest way possible";
    homepage = "https://github.com/lemuray/rustfetch";
    changelog = "https://github.com/lemuray/rustfetch/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    platforms = lib.platforms.all;
    maintainers = with lib.maintainers; [ lefaucheur0769 ];
    mainProgram = "rustfetch";
  };
})