mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
21 lines
693 B
Nix
21 lines
693 B
Nix
{ stdenv, fetchurl, xproto, libX11, libXext, libXrandr }:
|
|
stdenv.mkDerivation rec {
|
|
name = "slock-1.3";
|
|
src = fetchurl {
|
|
url = "http://dl.suckless.org/tools/${name}.tar.gz";
|
|
sha256 = "065xa9hl7zn0lv2f7yjxphqsa35rg6dn9hv10gys0sh4ljpa7d5s";
|
|
};
|
|
buildInputs = [ xproto libX11 libXext libXrandr ];
|
|
installFlags = "DESTDIR=\${out} PREFIX=";
|
|
meta = with stdenv.lib; {
|
|
homepage = http://tools.suckless.org/slock;
|
|
description = "Simple X display locker";
|
|
longDescription = ''
|
|
Simple X display locker. This is the simplest X screen locker.
|
|
'';
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ astsmtl ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|