mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-04 09:56:13 +03:00
Merge pull request #53452 from tadeokondrak/init-qmasterpassword
qMasterPassword: init at 1.2.2
This commit is contained in:
commit
6fc8992e6d
@ -4331,6 +4331,11 @@
|
|||||||
github = "t184256";
|
github = "t184256";
|
||||||
name = "Alexander Sosedkin";
|
name = "Alexander Sosedkin";
|
||||||
};
|
};
|
||||||
|
tadeokondrak = {
|
||||||
|
email = "me@tadeo.ca";
|
||||||
|
github = "tadeokondrak";
|
||||||
|
name = "Tadeo Kondrak";
|
||||||
|
};
|
||||||
tadfisher = {
|
tadfisher = {
|
||||||
email = "tadfisher@gmail.com";
|
email = "tadfisher@gmail.com";
|
||||||
github = "tadfisher";
|
github = "tadfisher";
|
||||||
|
48
pkgs/applications/misc/qMasterPassword/default.nix
Normal file
48
pkgs/applications/misc/qMasterPassword/default.nix
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, qtbase, qmake, libX11, libXtst, openssl, libscrypt }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "qMasterPassword";
|
||||||
|
version = "1.2.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "bkueng";
|
||||||
|
repo = name;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0l0jarvfdc69rcjl2wa0ixq8gp3fmjsy9n84m38sxf3n9j2bh13c";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ qtbase libX11 libXtst openssl libscrypt ];
|
||||||
|
nativeBuildInputs = [ qmake ];
|
||||||
|
|
||||||
|
# Upstream install is mostly defunct. It hardcodes target.path and doesn't
|
||||||
|
# install anything but the binary.
|
||||||
|
installPhase = if stdenv.isDarwin then ''
|
||||||
|
mkdir -p "$out"/{Applications,bin}
|
||||||
|
mv qMasterPassword.app "$out"/Applications/
|
||||||
|
ln -s ../Applications/qMasterPassword.app/Contents/MacOS/qMasterPassword "$out"/bin/qMasterPassword
|
||||||
|
'' else ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
mkdir -p $out/share/{applications,doc/qMasterPassword,icons/qmasterpassword,icons/hicolor/512x512/apps}
|
||||||
|
mv qMasterPassword $out/bin
|
||||||
|
mv data/qMasterPassword.desktop $out/share/applications
|
||||||
|
mv LICENSE README.md $out/share/doc/qMasterPassword
|
||||||
|
mv data/icons/app_icon.png $out/share/icons/hicolor/512x512/apps/qmasterpassword.png
|
||||||
|
mv data/icons/* $out/share/icons/qmasterpassword
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Stateless Master Password Manager";
|
||||||
|
longDescription = ''
|
||||||
|
Access all your passwords using only a single master password. But in
|
||||||
|
contrast to other managers it does not store any passwords: Unique
|
||||||
|
passwords are generated from the master password and a site name. This
|
||||||
|
means you automatically get different passwords for each account and
|
||||||
|
there is no password file that can be lost or get stolen. There is also
|
||||||
|
no need to trust any online password service.
|
||||||
|
'';
|
||||||
|
homepage = https://github.com/bkueng/qMasterPassword;
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = [ maintainers.tadeokondrak ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -22739,6 +22739,8 @@ in
|
|||||||
|
|
||||||
putty = callPackage ../applications/networking/remote/putty { };
|
putty = callPackage ../applications/networking/remote/putty { };
|
||||||
|
|
||||||
|
qMasterPassword = libsForQt5.callPackage ../applications/misc/qMasterPassword { };
|
||||||
|
|
||||||
redprl = callPackage ../applications/science/logic/redprl { };
|
redprl = callPackage ../applications/science/logic/redprl { };
|
||||||
|
|
||||||
retroarchBare = callPackage ../misc/emulators/retroarch {
|
retroarchBare = callPackage ../misc/emulators/retroarch {
|
||||||
|
Loading…
Reference in New Issue
Block a user