1 { stdenv, lib, fetchFromGitLab, makeWrapper }:
3 stdenv.mkDerivation rec {
4 pname = "sensible-utils";
7 src = fetchFromGitLab {
8 domain = "salsa.debian.org";
10 repo = "sensible-utils";
11 rev = "debian/${version}";
12 sha256 = "sha256-omdg5df/TxURarrqawsB3+B85siDJxDaex/2rx5csXI=";
15 nativeBuildInputs = [ makeWrapper ];
22 cp sensible-browser sensible-editor sensible-pager sensible-terminal $out/bin/
26 description = "Collection of utilities used by programs to sensibly select and spawn an appropriate browser, editor, or pager";
28 The specific utilities included are:
33 homepage = "https://salsa.debian.org/debian/sensible-utils";
34 changelog = "https://salsa.debian.org/debian/sensible-utils/-/tags";
35 license = licenses.gpl2Plus;
36 maintainers = with maintainers; [ pbek ];
37 platforms = platforms.unix;