593e11fd94
According to https://repology.org/repository/nix_unstable/problems, we have a lot of packages that have http links that redirect to https as their homepage. This commit updates all these packages to use the https links as their homepage. The following script was used to make these updates: ``` curl https://repology.org/api/v1/repository/nix_unstable/problems \ | jq '.[] | .problem' -r \ | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \ | sort | uniq > script.sed find -name '*.nix' | xargs -P4 -- sed -f script.sed -i ```
37 lines
1,017 B
Nix
37 lines
1,017 B
Nix
{ stdenv, python27Packages, fetchgit }:
|
|
let
|
|
py = python27Packages;
|
|
python = py.python;
|
|
in
|
|
py.buildPythonApplication {
|
|
name = "loxodo-0.20150124";
|
|
|
|
src = fetchgit {
|
|
url = "https://github.com/sommer/loxodo.git";
|
|
rev = "6c56efb4511fd6f645ad0f8eb3deafc8071c5795";
|
|
sha256 = "1cg0dfcv57ps54f1a0ksib7hgkrbdi9q699w302xyyfyvjcb5dd2";
|
|
};
|
|
|
|
propagatedBuildInputs = with py; [ wxPython ];
|
|
|
|
postInstall = ''
|
|
mv $out/bin/loxodo.py $out/bin/loxodo
|
|
mkdir -p $out/share/applications
|
|
cat > $out/share/applications/loxodo.desktop <<EOF
|
|
[Desktop Entry]
|
|
Type=Application
|
|
Exec=$out/bin/loxodo
|
|
Icon=$out/lib/${python.libPrefix}/site-packages/resources/loxodo-icon.png
|
|
Name=Loxodo
|
|
GenericName=Password Vault
|
|
Categories=Application;Other;
|
|
EOF
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A Password Safe V3 compatible password vault";
|
|
homepage = https://www.christoph-sommer.de/loxodo/;
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|