mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
abaddon: init at 0.1.10
This commit is contained in:
parent
5a8a8e0d9f
commit
bc053c32fc
@ -0,0 +1,77 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, cmake
|
||||
, copyDesktopItems
|
||||
, makeDesktopItem
|
||||
, makeWrapper
|
||||
, pkg-config
|
||||
, curl
|
||||
, gtkmm3
|
||||
, libhandy
|
||||
, libsecret
|
||||
, nlohmann_json
|
||||
, sqlite
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "abaddon";
|
||||
version = "0.1.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "uowuo";
|
||||
repo = "abaddon";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-84DrPx0e3pZjg87dHZO4y/z7KfIYNyAibE7/J7oYwXA=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
copyDesktopItems
|
||||
makeWrapper
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
curl
|
||||
gtkmm3
|
||||
libhandy
|
||||
libsecret
|
||||
nlohmann_json
|
||||
sqlite
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/abaddon
|
||||
cp -r ../res/{css,res} $out/share/abaddon
|
||||
mkdir $out/bin
|
||||
cp abaddon $out/bin
|
||||
wrapProgram $out/bin/abaddon \
|
||||
--chdir $out/share/abaddon
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = pname;
|
||||
exec = pname;
|
||||
desktopName = "Abaddon";
|
||||
genericName = meta.description;
|
||||
startupWMClass = pname;
|
||||
categories = [ "Network" "InstantMessaging" ];
|
||||
mimeTypes = [ "x-scheme-handler/discord" ];
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A discord client reimplementation, written in C++";
|
||||
homepage = "https://github.com/uowuo/abaddon";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ genericnerdyusername ];
|
||||
platforms = lib.intersectLists lib.platforms.x86_64 lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -29040,6 +29040,8 @@ with pkgs;
|
||||
program = "pdfstudioviewer";
|
||||
};
|
||||
|
||||
abaddon = callPackage ../applications/networking/instant-messengers/abaddon { };
|
||||
|
||||
aeolus = callPackage ../applications/audio/aeolus { };
|
||||
aeolus-stops = callPackage ../applications/audio/aeolus/stops.nix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user