1 { fetchFromGitHub, lib, stdenv }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "19zka5fcdxhhginaspak76l984iqq9v2j6qrwvi5mvca7bcj8f72";
14 enableParallelBuilding = true;
24 install -D -m555 -t $out/bin digitemp_*
25 install -D -m444 -t $out/share/doc/digitemp FAQ README
30 description = "Temperature logging and reporting using Maxim's iButtons and 1-Wire protocol";
32 DigiTemp is a command line application used for reading 1-wire sensors like
33 the DS18S20 temperature sensor, or DS2438 battery monitor. DigiTemp supports
34 the following devices:
36 DS18S20 (and older DS1820) Temperature Sensor
37 DS18B20 Temperature Sensor
38 DS1822 Temperature Sensor
39 DS2438 Battery monitor
40 DS2409 1-wire coupler (used in 1-wire hubs)
44 The output format can be customized and all settings are stored in a
45 configuration file (.digitemprc) in the current directory. DigiTemp can
46 repeatedly read the sensors and output to stdout and/or to a logfile.
48 homepage = "https://www.digitemp.com";
49 license = licenses.gpl2Plus;
51 platforms = platforms.unix;