Make Loxodo into a real package

There's no reason to keep it hidden in python27Packages hierarchy.
Promote it to be a top-level package.
This commit is contained in:
Richard Larocque
2015-06-03 23:43:00 -07:00
parent a714ddcbd5
commit 472642ebff
3 changed files with 29 additions and 21 deletions
+27
View File
@@ -0,0 +1,27 @@
{ 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
'';
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;
};
}