3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/batsignal/default.nix

26 lines
707 B
Nix
Raw Normal View History

2020-06-28 00:49:46 +01:00
{ stdenv, fetchFromGitHub, libnotify, pkg-config, glib }:
stdenv.mkDerivation rec {
pname = "batsignal";
2020-07-31 15:02:25 +01:00
version = "1.1.2";
2020-06-28 00:49:46 +01:00
src = fetchFromGitHub {
owner = "electrickite";
repo = "batsignal";
rev = "${version}";
2020-07-31 15:02:25 +01:00
sha256 = "0ss5dw7wpqsf96dig6r7x4fhf6brmjdy54jyyf5nk1h9kzw4d69r";
2020-06-28 00:49:46 +01:00
};
buildInputs = [ libnotify glib ];
nativeBuildInputs = [ pkg-config ];
installFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with stdenv.lib; {
homepage = "https://github.com/electrickite/batsignal";
description = "Lightweight battery daemon written in C";
license = licenses.isc;
maintainers = with maintainers; [ SlothOfAnarchy ];
platforms = platforms.linux;
};
}