mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 05:59:51 -07:00
feat: correct neomutt keybinds, add rdrview
This commit is contained in:
parent
24a30547d5
commit
44bc095527
4 changed files with 240 additions and 1 deletions
45
pkgs/by-name/rdrview/default.nix
Normal file
45
pkgs/by-name/rdrview/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
libxml2,
|
||||
curl,
|
||||
libseccomp,
|
||||
installShellFiles,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rdrview";
|
||||
version = "0.1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eafer";
|
||||
repo = "rdrview";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-UFHRsaLGa/jv/S+VXtXIMgLuQUPgqbRgD35bBrJyuZA=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
libxml2
|
||||
curl
|
||||
libseccomp
|
||||
];
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm755 rdrview -t $out/bin
|
||||
installManPage rdrview.1
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command line tool to extract main content from a webpage";
|
||||
homepage = "https://github.com/eafer/rdrview";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ djanatyn ];
|
||||
mainProgram = "rdrview";
|
||||
};
|
||||
})
|
|
@ -4,5 +4,6 @@ let
|
|||
in
|
||||
final: prev: {
|
||||
modrinth-app = callPackage ./by-name/modrinth-app { };
|
||||
hyprland-qtutils = callPackage ./by-name/hyprland-qtutils { };
|
||||
# hyprland-qtutils = callPackage ./by-name/hyprland-qtutils { };
|
||||
rdrview = callPackage ./by-name/rdrview { };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue