add cadet-gtk

This commit is contained in:
Christian Ulrich 2020-06-19 20:31:47 +02:00
parent 6a12858416
commit 813bb69895
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
2 changed files with 49 additions and 0 deletions

View File

@ -3,6 +3,8 @@ self: super:
{
buildNimblePackage = super.callPackage ./pkgs/nim-packages/generic.nix { };
cadet-gtk = super.callPackage ./pkgs/cadet-gtk/default.nix { };
c2nim = super.callPackage ./pkgs/nim-packages/c2nim.nix { };
freetz-tools = super.callPackage ./pkgs/freetz-tools/default.nix { };

View File

@ -0,0 +1,47 @@
{ stdenv
, cmake
, fetchFromGitLab
, jansson
, libextractor
, libgcrypt
, libhandy
, gnunet
, gtk3
, pkgconfig
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "cadet-gtk";
version = "0.5.0";
src = fetchFromGitLab {
owner = "TheJackiMonster";
repo = "cadet-gtk";
rev = "v${version}";
sha256 = "09a3ga5gfvrdq0z4325p7ndb78mg3lkc021c8bhkf6dxd76qm7r5";
};
nativeBuildInputs = [
cmake
pkgconfig
wrapGAppsHook
];
buildInputs = [
jansson
libextractor
libgcrypt
libhandy
gnunet
gtk3
];
meta = with stdenv.lib; {
description = "A GTK based GUI for the CADET subsystem of GNUnet.";
homepage = https://gitlab.com/TheJackiMonster/cadet-gtk;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ royneary ];
platforms = platforms.linux;
};
}