nixpkgs/pkgs/tools/X11/sx/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
888 B
Nix
Raw Normal View History

2022-06-14 23:10:23 +00:00
{ lib
, bash
, coreutils
, fetchFromGitHub
, resholve
, xauth
, xorgserver
}:
2021-07-10 03:21:11 +00:00
2022-06-14 23:10:23 +00:00
resholve.mkDerivation rec {
2021-07-10 03:21:11 +00:00
pname = "sx";
version = "2.1.7";
src = fetchFromGitHub {
owner = "earnestly";
repo = pname;
rev = version;
sha256 = "0xv15m30nhcknasqiybj5wwf7l91q4a4jf6xind8x5x00c6br6nl";
};
makeFlags = [ "PREFIX=$(out)" ];
2022-06-14 23:10:23 +00:00
solutions = {
sx = {
scripts = [ "bin/sx" ];
interpreter = "${bash}/bin/sh";
inputs = [
coreutils
xauth
xorgserver
];
execer = [
"cannot:${xorgserver}/bin/Xorg"
];
};
};
2021-07-10 03:21:11 +00:00
meta = with lib; {
description = "Simple alternative to both xinit and startx for starting a Xorg server";
homepage = "https://github.com/earnestly/sx";
license = licenses.mit;
platforms = platforms.linux;
2022-06-14 23:10:23 +00:00
maintainers = with maintainers; [ figsoda thiagokokada ];
2021-07-10 03:21:11 +00:00
};
}