diskgraph, freqtop, map, ..

This commit is contained in:
FliegendeWurst 2022-05-25 21:35:06 +02:00
parent 9983c5385a
commit cf19362cb6
6 changed files with 82 additions and 2 deletions

View File

@ -2,6 +2,8 @@
**My personal [NUR](https://github.com/nix-community/NUR) repository** **My personal [NUR](https://github.com/nix-community/NUR) repository**
List of packages: https://nur.nix-community.org/repos/fliegendewurst/
![Build and populate cache](https://github.com/FliegendeWurst/nur-packages/workflows/Build%20and%20populate%20cache/badge.svg) ![Build and populate cache](https://github.com/FliegendeWurst/nur-packages/workflows/Build%20and%20populate%20cache/badge.svg)
<!-- <!--

View File

@ -14,6 +14,9 @@
modules = import ./modules; # NixOS modules modules = import ./modules; # NixOS modules
overlays = import ./overlays; # nixpkgs overlays overlays = import ./overlays; # nixpkgs overlays
diskgraph = pkgs.callPackage ./pkgs/diskgraph { };
freqtop = pkgs.callPackage ./pkgs/freqtop { };
map = pkgs.callPackage ./pkgs/map { };
ripgrep-all = pkgs.callPackage ./pkgs/ripgrep-all { ripgrep-all = pkgs.callPackage ./pkgs/ripgrep-all {
inherit (pkgs.darwin.apple_sdk.frameworks) Security; inherit (pkgs.darwin.apple_sdk.frameworks) Security;
}; };

View File

@ -0,0 +1,25 @@
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "diskgraph";
version = "2021-05-13";
src = fetchFromGitHub {
owner = "stolk";
repo = "diskgraph";
rev = "8d1998ca9a05e19c822f24b6285c458a6bf023ea";
sha256 = "sha256-OaOp+5WeMSJBum+bLDil936rpKHWyzBxGCxSZWe/wZg=";
};
installPhase = ''
install -D -m755 diskgraph $out/bin/diskgraph
'';
meta = with lib; {
description = "Graphs the disk IO in a linux terminal";
homepage = "https://github.com/stolk/diskgraph";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ fliegendewurst ];
};
}

25
pkgs/freqtop/default.nix Normal file
View File

@ -0,0 +1,25 @@
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "freqtop";
version = "2022-02-01";
src = fetchFromGitHub {
owner = "stolk";
repo = "freqtop";
rev = "d364fe9207e1d89e91bdbe67ca4d49c94ce0d6e0";
sha256 = "06qb8mxcpgnsd6f069lfmag719qdi7kwak8q61isqwilwdcs4qg5";
};
installPhase = ''
install -D -m755 freqtop $out/bin/freqtop
'';
meta = with lib; {
description = "Monitor for the CPU Frequency Scaling under Linux";
homepage = "https://github.com/stolk/freqtop";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ fliegendewurst ];
};
}

25
pkgs/map/default.nix Normal file
View File

@ -0,0 +1,25 @@
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "map";
version = "2020-06-30";
src = fetchFromGitHub {
owner = "soveran";
repo = "map";
rev = "4296fd49930c32d7ae1e90a74008e8c58e219cda";
sha256 = "1qxx3871aa1wrcsk0v8iy4cmvymd7pqv2h5m0xpcnwcj42nh5q0f";
};
installPhase = ''
install -D -m755 map $out/bin/map
install -D -m644 map.1 $out/share/man/man1/map.1
'';
meta = with lib; {
description = "Map lines from stdin to commands";
homepage = "https://github.com/soveran/map";
license = licenses.bsd2;
maintainers = with maintainers; [ fliegendewurst ];
};
}

View File

@ -48,7 +48,7 @@ rustPlatform.buildRustPackage rec {
doCheck = false; # ... doCheck = false; # ...
meta = with lib; { meta = with lib; {
description = "Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, and more"; description = "Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, and more [fork with email search support]";
longDescription = '' longDescription = ''
Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc. Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.
@ -56,7 +56,7 @@ rustPlatform.buildRustPackage rec {
a multitude of file types. rga wraps the awesome ripgrep and enables it a multitude of file types. rga wraps the awesome ripgrep and enables it
to search in pdf, docx, sqlite, jpg, movie subtitles (mkv, mp4), etc. to search in pdf, docx, sqlite, jpg, movie subtitles (mkv, mp4), etc.
''; '';
homepage = "https://github.com/phiresky/ripgrep-all"; homepage = "https://github.com/FliegendeWurst/ripgrep-all/tree/mail-adapter";
license = with licenses; [ agpl3Plus ]; license = with licenses; [ agpl3Plus ];
maintainers = with maintainers; [ fliegendewurst ]; maintainers = with maintainers; [ fliegendewurst ];
mainProgram = "rga"; mainProgram = "rga";