mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
26 lines
699 B
Nix
26 lines
699 B
Nix
{ lib, stdenv, fetchFromGitHub, libnotify, pkg-config, glib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "batsignal";
|
|
version = "1.6.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "electrickite";
|
|
repo = "batsignal";
|
|
rev = version;
|
|
sha256 = "sha256-3T0vpyAw21u2+csqaz3Yf10G8IQRDyjReedIo+I4fvw=";
|
|
};
|
|
|
|
buildInputs = [ libnotify glib ];
|
|
nativeBuildInputs = [ pkg-config ];
|
|
installFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/electrickite/batsignal";
|
|
description = "Lightweight battery daemon written in C";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ SlothOfAnarchy ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|