mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
26 lines
699 B
Nix
26 lines
699 B
Nix
|
{ stdenv, fetchFromGitHub, libnotify, pkg-config, glib }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "batsignal";
|
||
|
version = "1.0.0";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "electrickite";
|
||
|
repo = "batsignal";
|
||
|
rev = "${version}";
|
||
|
sha256 = "wy7YhgKfz07u0bp7rWpze+KmSdooOkmU7giaBX3wWkY=";
|
||
|
};
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
}
|