2021-11-08 08:58:28 +00:00
|
|
|
{ lib, python2, fetchFromGitHub }:
|
|
|
|
|
|
|
|
python2.pkgs.buildPythonApplication {
|
2021-11-07 20:29:51 +00:00
|
|
|
pname = "loxodo";
|
2021-11-08 08:58:28 +00:00
|
|
|
version = "unstable-2015-01-24";
|
2015-06-04 07:43:00 +01:00
|
|
|
|
2021-11-08 08:58:28 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sommer";
|
|
|
|
repo = "loxodo";
|
2015-06-04 07:43:00 +01:00
|
|
|
rev = "6c56efb4511fd6f645ad0f8eb3deafc8071c5795";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "1cg0dfcv57ps54f1a0ksib7hgkrbdi9q699w302xyyfyvjcb5dd2";
|
2015-06-04 07:43:00 +01:00
|
|
|
};
|
|
|
|
|
2021-11-08 08:58:28 +00:00
|
|
|
propagatedBuildInputs = with python2.pkgs; [ wxPython ];
|
2015-06-04 07:43:00 +01:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/bin/loxodo.py $out/bin/loxodo
|
2015-06-04 05:32:17 +01:00
|
|
|
mkdir -p $out/share/applications
|
|
|
|
cat > $out/share/applications/loxodo.desktop <<EOF
|
|
|
|
[Desktop Entry]
|
|
|
|
Type=Application
|
|
|
|
Exec=$out/bin/loxodo
|
2021-11-08 08:58:28 +00:00
|
|
|
Icon=$out/lib/${python2.libPrefix}/site-packages/resources/loxodo-icon.png
|
2015-06-04 05:32:17 +01:00
|
|
|
Name=Loxodo
|
|
|
|
GenericName=Password Vault
|
|
|
|
Categories=Application;Other;
|
|
|
|
EOF
|
2015-06-04 07:43:00 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-06-04 07:43:00 +01:00
|
|
|
description = "A Password Safe V3 compatible password vault";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.christoph-sommer.de/loxodo/";
|
2015-06-04 07:43:00 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-11-08 08:58:28 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2015-06-04 07:43:00 +01:00
|
|
|
};
|
|
|
|
}
|