1 { lib, python3, fetchFromGitHub }:
3 python3.pkgs.buildPythonApplication {
5 version = "unstable-2021-02-08";
7 src = fetchFromGitHub {
10 rev = "7add982135545817e9b3e2bbd0d27a2763866133";
11 sha256 = "1cips4pvrqga8q1ibs23vjrf8dwan860x8jvjmc52h6qvvvv60yl";
14 patches = [ ./wxpython.patch ];
16 propagatedBuildInputs = with python3.pkgs; [ six wxpython ];
19 mv $out/bin/loxodo.py $out/bin/loxodo
20 mkdir -p $out/share/applications
21 cat > $out/share/applications/loxodo.desktop <<EOF
25 Icon=$out/${python3.sitePackages}/resources/loxodo-icon.png
27 GenericName=Password Vault
28 Categories=Application;Other;
32 doCheck = false; # Tests are interactive.
35 description = "A Password Safe V3 compatible password vault";
36 mainProgram = "loxodo";
37 homepage = "https://www.christoph-sommer.de/loxodo/";
38 license = licenses.gpl2Plus;
39 platforms = platforms.linux;
40 maintainers = with maintainers; [ ];