nixpkgs/pkgs/by-name/xs/xssstate/package.nix

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

35 lines
731 B
Nix
Raw Permalink Normal View History

2023-07-20 23:17:43 +00:00
{ lib
, stdenv
, fetchgit
, libX11
, libXScrnSaver
}:
stdenv.mkDerivation (finalAttrs: {
2023-07-20 23:17:43 +00:00
pname = "xssstate";
version = "1.1-unstable-2022-09-24";
2023-07-20 23:17:43 +00:00
src = fetchgit {
url = "https://git.suckless.org/xssstate/";
rev = "5d8e9b49ce2970f786f1e5aa12bbaae83900453f";
hash = "sha256-Aor12tU1I/qNZCdBhZcvNK1FWFh0HYK8CEI29X5yoeA=";
};
buildInputs = [
libX11
libXScrnSaver
];
2023-07-20 23:17:43 +00:00
makeFlags = [
"PREFIX=${placeholder "out"}"
"VERSION=${finalAttrs.version}"
];
2023-07-20 23:17:43 +00:00
meta = with lib; {
description = "Simple tool to retrieve the X screensaver state";
license = licenses.mit;
maintainers = with maintainers; [ onemoresuza ];
platforms = platforms.linux;
mainProgram = "xssstate";
2023-07-20 23:17:43 +00:00
};
})