Unverified Commit 27e83d21 authored by Nydragon's avatar Nydragon
Browse files

microfetch: init at 0.3.3

Addition of [microfetch]:

> A stupidly simple fetch tool, written in Rust. Runs in a fraction of a
> second, displays most nonsense people on r/unixporn care about. Aims
> to replace fastfetch on my system, but probably not on yours. Though
> you are more than welcome to use it on your system: it's fast.

[microfetch]: https://github.com/NotAShelf/microfetch
parent ec257526
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
{
  lib,
  rustPlatform,
  fetchFromGitHub,
}:

rustPlatform.buildRustPackage rec {
  pname = "microfetch";
  version = "0.3.3";

  src = fetchFromGitHub {
    owner = "NotAShelf";
    repo = "microfetch";
    rev = "refs/tags/v${version}";
    hash = "sha256-iBfnui7xrx31euYnQxoJf1xXFYFiJnDMadLRAiRCN04=";
  };

  cargoHash = "sha256-J+S6XIMUcWj4jXABQinEDx6dRG5Byc2UxJoKj2y1tQU=";

  meta = {
    description = "Microscopic fetch script in Rust, for NixOS systems";
    homepage = "https://github.com/NotAShelf/microfetch";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ nydragon ];
    mainProgram = "microfetch";
    platforms = lib.platforms.linux;
  };
}