2023-09-05 12:14:21 +03:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
libX11,
|
|
|
|
imlib2,
|
|
|
|
libXinerama,
|
|
|
|
pkg-config,
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sbs";
|
|
|
|
version = "1.0.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "onur-ozkan";
|
2025-03-07 01:06:27 +01:00
|
|
|
repo = "sbs";
|
2025-04-08 02:51:45 -04:00
|
|
|
rev = "v${version}";
|
2023-09-05 12:14:21 +03:00
|
|
|
sha256 = "sha256-Zgu9W/3LwHF/fyaPlxmV/2LdxilO1tU0JY/esLnJVGY=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
imlib2
|
|
|
|
libX11
|
|
|
|
libXinerama
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple background setter with 200 lines of code";
|
|
|
|
homepage = "https://github.com/onur-ozkan/sbs";
|
2024-04-26 14:35:31 +03:00
|
|
|
license = licenses.gpl2Only;
|
2023-09-05 12:14:21 +03:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ onur-ozkan ];
|
2023-11-23 22:09:35 +01:00
|
|
|
mainProgram = "sbs";
|
2023-09-05 12:14:21 +03:00
|
|
|
};
|
|
|
|
}
|