mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 03:43:53 +03:00
gorilla: init at 1.5.3.7
This commit is contained in:
parent
35667f0474
commit
e5cd718974
@ -314,6 +314,7 @@
|
||||
mudri = "James Wood <lamudri@gmail.com>";
|
||||
muflax = "Stefan Dorn <mail@muflax.com>";
|
||||
myrl = "Myrl Hex <myrl.0xf@gmail.com>";
|
||||
namore = "Roman Naumann <namor@hemio.de>";
|
||||
nand0p = "Fernando Jose Pando <nando@hex7.com>";
|
||||
Nate-Devv = "Nathan Moore <natedevv@gmail.com>";
|
||||
nathan-gs = "Nathan Bijnens <nathan@nathan.gs>";
|
||||
|
41
pkgs/tools/security/gorilla-bin/default.nix
Normal file
41
pkgs/tools/security/gorilla-bin/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ fetchurl, makeWrapper, patchelf, pkgs, stdenv, libXft, libX11, freetype, fontconfig, libXrender, libXScrnSaver, libXext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gorilla-bin-${version}";
|
||||
version = "1.5.3.7";
|
||||
|
||||
src = fetchurl {
|
||||
name = "gorilla1537_64.bin";
|
||||
url = "http://gorilla.dp100.com/downloads/gorilla1537_64.bin";
|
||||
sha256 = "19ir6x4c01825hpx2wbbcxkk70ymwbw4j03v8b2xc13ayylwzx0r";
|
||||
};
|
||||
|
||||
buildInputs = [ patchelf makeWrapper ];
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
unpackCmd = ''
|
||||
mkdir gorilla;
|
||||
cp $curSrc gorilla/gorilla-${version};
|
||||
'';
|
||||
|
||||
installPhase = let
|
||||
interpreter = "$(< \"$NIX_CC/nix-support/dynamic-linker\")";
|
||||
libPath = stdenv.lib.makeLibraryPath [ libXft libX11 freetype fontconfig libXrender libXScrnSaver libXext ];
|
||||
in ''
|
||||
mkdir -p $out/opt/password-gorilla
|
||||
mkdir -p $out/bin
|
||||
cp gorilla-${version} $out/opt/password-gorilla
|
||||
chmod ugo+x $out/opt/password-gorilla/gorilla-${version}
|
||||
patchelf --set-interpreter "${interpreter}" "$out/opt/password-gorilla/gorilla-${version}"
|
||||
makeWrapper "$out/opt/password-gorilla/gorilla-${version}" "$out/bin/gorilla" \
|
||||
--prefix LD_LIBRARY_PATH : "${libPath}"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Password Gorilla is a Tk based password manager";
|
||||
homepage = https://github.com/zdia/gorilla/wiki;
|
||||
maintainers = [ stdenv.lib.maintainers.namore ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
};
|
||||
}
|
@ -902,6 +902,8 @@ in
|
||||
|
||||
goa = callPackage ../development/tools/goa { };
|
||||
|
||||
gorilla-bin = callPackage ../tools/security/gorilla-bin { };
|
||||
|
||||
gringo = callPackage ../tools/misc/gringo { };
|
||||
|
||||
gti = callPackage ../tools/misc/gti { };
|
||||
|
Loading…
Reference in New Issue
Block a user