mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
eid-mw 4.0.6-1620 -> 4.1.2
This commit is contained in:
parent
ab131767d1
commit
d201dfc94c
@ -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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "${package}-${build}";
|
name = "eid-mw-${version}";
|
||||||
package = "eid-mw-4.0.6-1620";
|
|
||||||
build = "tcm406-258906";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://eid.belgium.be/en/binaries/${package}.tar_${build}.gz";
|
sha256 = "034ar1v2qamdyq71nklh1nvqbmw6ryz63jdwnnc873f639mf5w94";
|
||||||
sha256 = "1ecb30f9f318bdb61a8d774fe76b948eb5841d4de6fee106029ed78daa7efbf2";
|
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 = ''
|
postInstall = ''
|
||||||
install -D ${./eid-nssdb.in} $out/bin/eid-nssdb
|
install -D ${./eid-nssdb.in} $out/bin/eid-nssdb
|
||||||
@ -20,8 +22,6 @@ stdenv.mkDerivation rec {
|
|||||||
--replace "modutil" "${nssTools}/bin/modutil"
|
--replace "modutil" "${nssTools}/bin/modutil"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Belgian electronic identity card (eID) middleware";
|
description = "Belgian electronic identity card (eID) middleware";
|
||||||
homepage = http://eid.belgium.be/en/using_your_eid/installing_the_eid_software/linux/;
|
homepage = http://eid.belgium.be/en/using_your_eid/installing_the_eid_software/linux/;
|
||||||
|
Loading…
Reference in New Issue
Block a user