Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

45 lines
1.1 KiB
Nix

{
stdenv,
lib,
fetchFromGitLab,
makeWrapper,
}:
stdenv.mkDerivation rec {
pname = "sensible-utils";
version = "0.0.26";
src = fetchFromGitLab {
domain = "salsa.debian.org";
owner = "debian";
repo = "sensible-utils";
rev = "debian/${version}";
sha256 = "sha256-vxzCICkF3KDBe+IIZ63JMiZmfHOllHf1Xtw/vWaimc8=";
};
nativeBuildInputs = [ makeWrapper ];
dontConfigure = true;
installPhase = ''
mkdir -p $out/bin
cp sensible-browser sensible-editor sensible-pager sensible-terminal $out/bin/
'';
meta = with lib; {
description = "Collection of utilities used by programs to sensibly select and spawn an appropriate browser, editor, or pager";
longDescription = ''
The specific utilities included are:
- sensible-browser
- sensible-editor
- sensible-pager
'';
homepage = "https://salsa.debian.org/debian/sensible-utils";
changelog = "https://salsa.debian.org/debian/sensible-utils/-/tags";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ pbek ];
platforms = platforms.unix;
};
}