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 {
|
||||
pname = "infnoise";
|
||||
version = "unstable-2019-08-12";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "13-37-org";
|
||||
owner = "leetronics";
|
||||
repo = "infnoise";
|
||||
rev = "132683d4b5ce0902468b666cba63baea36e97f0c";
|
||||
sha256 = "1dzfzinyvhyy9zj32kqkl19fyhih6sy8r5sa3qahbbr4c30k7flp";
|
||||
rev = "e80ddd78085abf3d06df2e0d8c08fd33dade78eb";
|
||||
sha256 = "sha256-9MKG1InkV+yrQPBTgi2gZJ3y9Fokb6WbxuAnM7n7FyA=";
|
||||
};
|
||||
|
||||
# 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"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion { package = infnoise; };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/13-37-org/infnoise";
|
||||
homepage = "https://github.com/leetronics/infnoise";
|
||||
description = "Driver for the Infinite Noise TRNG";
|
||||
longDescription = ''
|
||||
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 ];
|
||||
'';
|
||||
license = licenses.cc0;
|
||||
maintainers = with maintainers; [ StijnDW ];
|
||||
maintainers = with maintainers; [ StijnDW zhaofengli ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user