Merge pull request #18024 from cransom/blink1tool
blink1-tool: init at 1.98
This commit is contained in:
commit
a29eb6bfe7
29
pkgs/tools/misc/blink1-tool/default.nix
Normal file
29
pkgs/tools/misc/blink1-tool/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ 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;
|
||||||
|
};
|
||||||
|
}
|
@ -598,6 +598,8 @@ in
|
|||||||
gnutls = gnutls33;
|
gnutls = gnutls33;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
blink1-tool = callPackage ../tools/misc/blink1-tool { };
|
||||||
|
|
||||||
blitz = callPackage ../development/libraries/blitz { };
|
blitz = callPackage ../development/libraries/blitz { };
|
||||||
|
|
||||||
blockdiag = pythonPackages.blockdiag;
|
blockdiag = pythonPackages.blockdiag;
|
||||||
|
Loading…
Reference in New Issue
Block a user