depot/third_party/nixpkgs/pkgs/applications/networking/datovka/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

34 lines
793 B
Nix

{ lib
, mkDerivation
, fetchurl
, libxml2
, libdatovka
, qmake
, qtbase
, qtwebsockets
, qtsvg
, pkg-config
}:
mkDerivation rec {
pname = "datovka";
version = "4.23.7";
src = fetchurl {
url = "https://gitlab.nic.cz/datovka/datovka/-/archive/v${version}/datovka-v${version}.tar.gz";
sha256 = "sha256-mGuTxOqudDhoJKZ9517H+A4PZxBqAOD+PfBHunhPXGw=";
};
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";
};
}