infnoise: unstable-2019-08-12 -> 0.3.2
This commit is contained in:
parent
4098f21de1
commit
d2aa5ff6e7
|
@ -1,14 +1,15 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, libftdi }:
|
{ lib, stdenv, fetchFromGitHub, libftdi
|
||||||
|
, infnoise, testers }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "infnoise";
|
pname = "infnoise";
|
||||||
version = "unstable-2019-08-12";
|
version = "0.3.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "13-37-org";
|
owner = "leetronics";
|
||||||
repo = "infnoise";
|
repo = "infnoise";
|
||||||
rev = "132683d4b5ce0902468b666cba63baea36e97f0c";
|
rev = "e80ddd78085abf3d06df2e0d8c08fd33dade78eb";
|
||||||
sha256 = "1dzfzinyvhyy9zj32kqkl19fyhih6sy8r5sa3qahbbr4c30k7flp";
|
sha256 = "sha256-9MKG1InkV+yrQPBTgi2gZJ3y9Fokb6WbxuAnM7n7FyA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Patch makefile so we can set defines from the command line instead of it depending on .git
|
# Patch makefile so we can set defines from the command line instead of it depending on .git
|
||||||
|
@ -26,8 +27,12 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace init_scripts/infnoise.service --replace "/usr/local" "$out"
|
substituteInPlace init_scripts/infnoise.service --replace "/usr/local" "$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
tests.version = testers.testVersion { package = infnoise; };
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/13-37-org/infnoise";
|
homepage = "https://github.com/leetronics/infnoise";
|
||||||
description = "Driver for the Infinite Noise TRNG";
|
description = "Driver for the Infinite Noise TRNG";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
The Infinite Noise TRNG is a USB key hardware true random number generator.
|
The Infinite Noise TRNG is a USB key hardware true random number generator.
|
||||||
|
@ -37,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||||
services.udev.packages = [ pkgs.infnoise ];
|
services.udev.packages = [ pkgs.infnoise ];
|
||||||
'';
|
'';
|
||||||
license = licenses.cc0;
|
license = licenses.cc0;
|
||||||
maintainers = with maintainers; [ StijnDW ];
|
maintainers = with maintainers; [ StijnDW zhaofengli ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue