From c6739f6df803b10560618fbaf49fa9e1ace6c83b Mon Sep 17 00:00:00 2001 From: pagedmov Date: Sun, 10 Nov 2024 01:12:08 -0500 Subject: [PATCH 1/2] maintainers: add pagedMov --- maintainers/maintainer-list.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index ccdf946882eb..65b53cc6369b 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -16501,6 +16501,13 @@ githubId = 120342602; name = "Michael Paepcke"; }; + pagedMov = { + email = "kylerclay@proton.me"; + github = "pagedMov"; + githubId = 19557376; + name = "Kyler Clay"; + keys = [ { fingerprint = "784B 3623 94E7 8F11 0B9D AE0F 56FD CFA6 2A93 B51E"; } ]; + }; paholg = { email = "paho@paholg.com"; github = "paholg"; From cbab3526ee3876f62e2ee4729c36c7e0800d98bb Mon Sep 17 00:00:00 2001 From: pagedmov Date: Sun, 10 Nov 2024 01:12:19 -0500 Subject: [PATCH 2/2] tinyfetch: init at 0.2 --- pkgs/by-name/ti/tinyfetch/package.nix | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pkgs/by-name/ti/tinyfetch/package.nix diff --git a/pkgs/by-name/ti/tinyfetch/package.nix b/pkgs/by-name/ti/tinyfetch/package.nix new file mode 100644 index 000000000000..728d85a7afb4 --- /dev/null +++ b/pkgs/by-name/ti/tinyfetch/package.nix @@ -0,0 +1,40 @@ +{ + stdenv, + fetchFromGitHub, + lib, +}: + +stdenv.mkDerivation rec { + pname = "tinyfetch"; + version = "0.2"; + + src = fetchFromGitHub { + owner = "abrik1"; + repo = "tinyfetch"; + rev = "refs/tags/${version}"; + hash = "sha256-I0OurcPKKZntZn7Bk9AnWdpSrU9olGp7kghdOajPDeQ="; + }; + + sourceRoot = "${src.name}/src"; + + buildPhase = '' + runHook preBuild + $CC tinyfetch.c -o tinyfetch + runHook postBuild + ''; + + installPhase = '' + runHook preInstall + install -Dm755 tinyfetch -t $out/bin + runHook postInstall + ''; + + meta = { + description = "Simple fetch in C which is tiny and fast"; + homepage = "https://github.com/abrik1/tinyfetch"; + license = lib.licenses.mit; + mainProgram = "tinyfetch"; + maintainers = with lib.maintainers; [ pagedMov ]; + platforms = lib.platforms.unix; + }; +}