2018-09-23 09:14:48 +01:00
|
|
|
{ stdenv, fetchFromGitHub, fetchpatch
|
2017-12-01 12:25:25 +00:00
|
|
|
, cmake, ccid, qttools, qttranslations
|
2018-02-25 02:23:58 +00:00
|
|
|
, pkgconfig, pcsclite, hicolor-icon-theme
|
2017-12-01 12:25:25 +00:00
|
|
|
}:
|
2016-04-26 16:08:16 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2017-12-01 12:25:25 +00:00
|
|
|
version = "3.12.10";
|
2016-04-26 16:08:16 +01:00
|
|
|
name = "qesteidutil-${version}";
|
|
|
|
|
2017-12-01 12:25:25 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "open-eid";
|
|
|
|
repo = "qesteidutil";
|
|
|
|
# TODO: Switch back to this after next release.
|
|
|
|
#rev = "v${version}";
|
|
|
|
# We require the remove breakpad stuff
|
|
|
|
rev = "efdfe4c5521f68f206569e71e292a664bb9f46aa";
|
|
|
|
sha256 = "0zly83sdqsf9lxnfw4ir2a9vmmfba181rhsrz61ga2zzpm2wf0f0";
|
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
2016-04-26 16:08:16 +01:00
|
|
|
|
2018-09-23 09:14:48 +01:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = https://github.com/open-eid/qesteidutil/commit/868e8245f2481e29e1154e168ac92d32e93a5425.patch;
|
|
|
|
sha256 = "0pwrkd8inf0qaf7lcchmj558k6z34ah672zcb722aa5ybbif0lkn";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ cmake ccid qttools pcsclite qttranslations
|
2018-02-25 02:23:58 +00:00
|
|
|
hicolor-icon-theme
|
2016-04-26 16:08:16 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "UI application for managing smart card PIN/PUK codes and certificates";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://www.id.ee/;
|
2016-04-26 16:08:16 +01:00
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.jagajaga ];
|
|
|
|
};
|
|
|
|
}
|