eid-mw 4.0.6-1620 -> 4.1.2

This commit is contained in:
Tobias Geerinckx-Rice 2015-03-26 18:19:57 +01:00
parent ab131767d1
commit d201dfc94c

View file

@ -1,18 +1,20 @@
{ stdenv, fetchurl, gtk2, nssTools, pcsclite, pkgconfig }:
{ stdenv, fetchFromGitHub, autoreconfHook, gtk2, nssTools, pcsclite
, pkgconfig }:
let version = "4.1.2"; in
stdenv.mkDerivation rec {
name = "${package}-${build}";
package = "eid-mw-4.0.6-1620";
build = "tcm406-258906";
name = "eid-mw-${version}";
src = fetchurl {
url = "http://eid.belgium.be/en/binaries/${package}.tar_${build}.gz";
sha256 = "1ecb30f9f318bdb61a8d774fe76b948eb5841d4de6fee106029ed78daa7efbf2";
src = fetchFromGitHub {
sha256 = "034ar1v2qamdyq71nklh1nvqbmw6ryz63jdwnnc873f639mf5w94";
rev = "v${version}";
repo = "eid-mw";
owner = "Fedict";
};
buildInputs = [ gtk2 pcsclite pkgconfig ];
buildInputs = [ autoreconfHook gtk2 pcsclite pkgconfig ];
unpackPhase = "tar -xzf ${src} --strip-components=1";
doCheck = true;
postInstall = ''
install -D ${./eid-nssdb.in} $out/bin/eid-nssdb
@ -20,8 +22,6 @@ stdenv.mkDerivation rec {
--replace "modutil" "${nssTools}/bin/modutil"
'';
doCheck = true;
meta = with stdenv.lib; {
description = "Belgian electronic identity card (eID) middleware";
homepage = http://eid.belgium.be/en/using_your_eid/installing_the_eid_software/linux/;