Merge pull request #8168 from richardlarocque/loxodo_app_rebase
Move Loxodo package and add an icon
This commit is contained in:
commit
4938d89272
|
@ -0,0 +1,37 @@
|
|||
{ stdenv, python27Packages, fetchgit }:
|
||||
let
|
||||
py = python27Packages;
|
||||
python = py.python;
|
||||
in
|
||||
py.buildPythonPackage rec {
|
||||
name = "loxodo-0.20150124";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/sommer/loxodo.git";
|
||||
rev = "6c56efb4511fd6f645ad0f8eb3deafc8071c5795";
|
||||
sha256 = "02whmv4am8cz401rplplqzbipkyf0wd69z43sd3yw05rh7f3xbs2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with py; [ wxPython python.modules.readline ];
|
||||
|
||||
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 = http://www.christoph-sommer.de/loxodo/;
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -11676,6 +11676,8 @@ let
|
|||
|
||||
lmms = callPackage ../applications/audio/lmms { };
|
||||
|
||||
loxodo = callPackage ../applications/misc/loxodo { };
|
||||
|
||||
lrzsz = callPackage ../tools/misc/lrzsz { };
|
||||
|
||||
luakit = callPackage ../applications/networking/browsers/luakit {
|
||||
|
|
|
@ -6662,27 +6662,6 @@ let
|
|||
propagatedBuildInputs = with self; [ unittest2 six ];
|
||||
};
|
||||
|
||||
loxodo = buildPythonPackage {
|
||||
name = "loxodo-0.20150124";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchgit {
|
||||
url = "https://github.com/sommer/loxodo.git";
|
||||
rev = "6c56efb4511fd6f645ad0f8eb3deafc8071c5795";
|
||||
sha256 = "02whmv4am8cz401rplplqzbipkyf0wd69z43sd3yw05rh7f3xbs2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ wxPython modules.readline ];
|
||||
postInstall = "mv $out/bin/loxodo.py $out/bin/loxodo";
|
||||
|
||||
meta = {
|
||||
description = "A Password Safe V3 compatible password vault";
|
||||
homepage = http://www.christoph-sommer.de/loxodo/;
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
};
|
||||
|
||||
lxml = buildPythonPackage ( rec {
|
||||
name = "lxml-3.3.6";
|
||||
|
||||
|
|
Loading…
Reference in New Issue