depot/third_party/nixpkgs/pkgs/by-name/li/librda/package.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

61 lines
1.1 KiB
Nix

{ stdenv
, lib
, fetchFromGitHub
, testers
, autoreconfHook
, glib
, gobject-introspection
, gtk3
, intltool
, pkg-config
}:
stdenv.mkDerivation (finalAttrs: {
pname = "librda";
version = "0.0.5-unstable-2023-09-15";
src = fetchFromGitHub {
owner = "ArcticaProject";
repo = "librda";
rev = "d7ed1368145e39b0c761947a32fa50493e70f554";
hash = "sha256-k6dmwIndLy9S7f0AU7FIm1S7MYfyvDuhMLMuNgHGsYo=";
};
outputs = [
"out"
"dev"
"bin"
];
strictDeps = true;
nativeBuildInputs = [
autoreconfHook
glib
gobject-introspection
intltool
pkg-config
];
buildInputs = [
gtk3
];
enableParallelBuilding = true;
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
description = "Remote Desktop Awareness Shared Library";
homepage = "https://github.com/ArcticaProject/librda";
license = licenses.gpl2Plus;
mainProgram = "rdacheck";
maintainers = with maintainers; [ OPNA2608 ];
platforms = platforms.linux;
pkgConfigModules = [
"rda"
];
};
})