2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, mkDerivation
|
|
|
|
, fetchurl
|
|
|
|
, libxml2
|
2023-01-20 10:41:00 +00:00
|
|
|
, libdatovka
|
2020-04-24 23:36:52 +00:00
|
|
|
, qmake
|
|
|
|
, qtbase
|
2023-01-20 10:41:00 +00:00
|
|
|
, qtwebsockets
|
2020-04-24 23:36:52 +00:00
|
|
|
, qtsvg
|
|
|
|
, pkg-config
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "datovka";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "4.21.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-01-20 10:41:00 +00:00
|
|
|
url = "https://gitlab.nic.cz/datovka/datovka/-/archive/v${version}/datovka-v${version}.tar.gz";
|
|
|
|
sha256 = "sha256-mzCtZE4mira/ZeyfujBh+cONq1YbCyLIypiIX0kTVJg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
buildInputs = [ libdatovka qmake qtbase qtsvg libxml2 qtwebsockets ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Client application for operating Czech government-provided Databox infomation system";
|
|
|
|
homepage = "https://www.datovka.cz/";
|
2023-01-20 10:41:00 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.mmahut ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|