mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
35 lines
793 B
Nix
35 lines
793 B
Nix
{ lib
|
|
, mkDerivation
|
|
, fetchurl
|
|
, libxml2
|
|
, libdatovka
|
|
, qmake
|
|
, qtbase
|
|
, qtwebsockets
|
|
, qtsvg
|
|
, pkg-config
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "datovka";
|
|
version = "4.22.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://gitlab.nic.cz/datovka/datovka/-/archive/v${version}/datovka-v${version}.tar.gz";
|
|
sha256 = "sha256-R18dBsfrMBcBB3EraC0tIJABwZBROFqi/fhm62IDa2g=";
|
|
};
|
|
|
|
buildInputs = [ libdatovka qmake qtbase qtsvg libxml2 qtwebsockets ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
meta = with lib; {
|
|
description = "Client application for operating Czech government-provided Databox infomation system";
|
|
homepage = "https://www.datovka.cz/";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = [ maintainers.mmahut ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "datovka";
|
|
};
|
|
}
|