1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

neo4j-desktop: init at 1.4.5 (#127341)

* neo4j-desktop: init at 1.4.5

* Update pkgs/applications/misc/neo4j-desktop/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Bob van der Linden 2021-06-18 15:22:49 +02:00 committed by GitHub
parent b0cf786b96
commit d1ac06b009
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ appimageTools, lib, fetchurl }:
let
pname = "neo4j-desktop";
version = "1.4.5";
name = "${pname}-${version}";
src = fetchurl {
url = "https://s3-eu-west-1.amazonaws.com/dist.neo4j.org/${pname}/linux-offline/${name}-x86_64.AppImage";
sha256 = "sha256-TCkjYhvGhgqgrDEMvC4Ww/sDxRhHC70YgfDlCIFitMo";
};
appimageContents = appimageTools.extract { inherit src; name = pname; };
in appimageTools.wrapType2 {
inherit name src;
extraPkgs = pkgs: with pkgs; [ libsecret ];
extraInstallCommands = ''
install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications
substituteInPlace $out/share/applications/${pname}.desktop \
--replace 'Exec=AppRun' 'Exec=${pname}'
cp -r ${appimageContents}/usr/share/icons $out/share
'';
meta = with lib; {
description = "A GUI front-end for Neo4j";
homepage = "https://neo4j.com/";
license = licenses.unfree;
maintainers = [ maintainers.bobvanderlinden ];
platforms = [ "x86_64-linux" ];
};
}

View file

@ -19722,6 +19722,8 @@ in
neo4j = callPackage ../servers/nosql/neo4j { };
neo4j-desktop = callPackage ../applications/misc/neo4j-desktop { };
check-esxi-hardware = callPackage ../servers/monitoring/plugins/esxi.nix {};
net-snmp = callPackage ../servers/monitoring/net-snmp { };