1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/tools/misc/blink1-tool/default.nix
Casey Ransom 59b32b92e0 blink1-tool: init at 1.98
The command line tool for the blink(1) notification light.
2016-08-26 19:36:14 -04:00

30 lines
719 B
Nix

{ stdenv, fetchurl, libusb1, pkgconfig, ... }:
stdenv.mkDerivation rec {
name = "blink1-${version}";
version = "v1.98";
src = fetchurl {
url = "https://github.com/todbot/blink1/archive/${version}.tar.gz";
sha256 = "05hbnp20cdvyyqf6jr01waz1ycis20qzsd8hn27snmn6qd48igrb";
};
buildInputs = [ libusb1 pkgconfig ];
configurePhase = ''
cd commandline
'';
installPhase = ''
PREFIX=$out make install
'';
meta = {
description = "Command line client for the blink(1) notification light";
homepage = https://blink1.thingm.com/;
license = stdenv.lib.licenses.cc-by-sa-30;
maintainers = [ stdenv.lib.maintainers.cransom ];
platforms = stdenv.lib.platforms.linux;
};
}