Merge branch 'master.upstream' into staging.upstream
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
, pkgconfig }:
|
||||
|
||||
let version = "4.1.4"; in
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation {
|
||||
name = "eid-mw-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
{ stdenv, fetchurl, jre, makeWrapper, pcsclite }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
# TODO: find out what the version components actually mean, if anything:
|
||||
package = "eid-viewer-4.0.7-195";
|
||||
build = "tcm406-258907";
|
||||
name = "${package}-${build}";
|
||||
major = "4.1.4-v4.1.4";
|
||||
minor = "tcm406-270732";
|
||||
version = "${major}-${minor}";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "eid-viewer-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://eid.belgium.be/en/binaries/${package}.src.tar_${build}.gz";
|
||||
sha256 = "e263e6751ef7c185e278a607fdc46c207306d9a56c6ddb2ce6f58fb4464a2893";
|
||||
url = "http://eid.belgium.be/en/binaries/eid-viewer-${major}.src.tar_${minor}.gz";
|
||||
sha256 = "06kda45y7c3wvvqby153zcasgz4jibjypv8gvfwvrwvn4ag2z934";
|
||||
};
|
||||
|
||||
buildInputs = [ jre pcsclite ];
|
||||
@@ -31,6 +33,7 @@ stdenv.mkDerivation rec {
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
description = "Belgian electronic identity card (eID) viewer";
|
||||
homepage = http://eid.belgium.be/en/using_your_eid/installing_the_eid_software/linux/;
|
||||
license = licenses.lgpl3;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchgit, curl, scrot, imagemagick, xawtv, inetutils
|
||||
, makeWrapper, coreutils, cacert
|
||||
{ stdenv, fetchurl, fetchgit, curl, scrot, imagemagick, xawtv, inetutils, makeWrapper, coreutils
|
||||
, apiKey ? ""
|
||||
, deviceKey ? "" }:
|
||||
|
||||
@@ -36,7 +35,7 @@ in stdenv.mkDerivation rec {
|
||||
cp -R ${modulesSrc}/* $out/modules/
|
||||
wrapProgram "$out/prey.sh" \
|
||||
--prefix PATH ":" "${xawtv}/bin:${imagemagick}/bin:${curl}/bin:${scrot}/bin:${inetutils}/bin:${coreutils}/bin" \
|
||||
--set CURL_CA_BUNDLE "${cacert}/etc/ssl/certs/ca-bundle.crt"
|
||||
--set CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ stdenv, fetchurl, coreutils, pam, groff
|
||||
, sendmailPath ? "/var/setuid-wrappers/sendmail"
|
||||
, withInsults ? false
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -20,6 +21,9 @@ stdenv.mkDerivation rec {
|
||||
"--with-vardir=/var/db/sudo"
|
||||
"--with-logpath=/var/log/sudo.log"
|
||||
"--with-sendmail=${sendmailPath}"
|
||||
] ++ stdenv.lib.optional withInsults [
|
||||
"--with-insults"
|
||||
"--with-all-insults"
|
||||
];
|
||||
|
||||
configureFlagsArray = [
|
||||
|
||||
Reference in New Issue
Block a user