mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
35 lines
744 B
Nix
35 lines
744 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, gtk3
|
|
, glib
|
|
, accountsservice
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gtklock-userinfo-module";
|
|
version = "3.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jovanlanik";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-gZ9TGARuWFGyWLROlJQWwiEtbzQC9rlG8NKxUuGh57c=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ gtk3 glib accountsservice ];
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "Gtklock module adding user info to the lockscreen";
|
|
homepage = "https://github.com/jovanlanik/gtklock-userinfo-module";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ aleksana ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|