pythonPackages.upass: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-28 12:51:37 -04:00
parent 8090784c0c
commit 5f58cd99d5
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 28 additions and 22 deletions

View File

@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchurl
, pyperclip
, urwid
}:
buildPythonPackage rec {
version = "0.1.4";
pname = "upass";
src = fetchurl {
url = "https://github.com/Kwpolska/upass/archive/v${version}.tar.gz";
sha256 = "0f2lyi7xhvb60pvzx82dpc13ksdj5k92ww09czclkdz8k0dxa7hb";
};
propagatedBuildInputs = [ pyperclip urwid ];
doCheck = false;
meta = with stdenv.lib; {
description = "Console UI for pass";
homepage = https://github.com/Kwpolska/upass;
license = licenses.bsd3;
};
}

View File

@ -4057,28 +4057,7 @@ in {
linecache2 = callPackage ../development/python-modules/linecache2 { }; linecache2 = callPackage ../development/python-modules/linecache2 { };
upass = buildPythonPackage rec { upass = callPackage ../development/python-modules/upass { };
version = "0.1.4";
name = "upass-${version}";
src = pkgs.fetchurl {
url = "https://github.com/Kwpolska/upass/archive/v${version}.tar.gz";
sha256 = "0f2lyi7xhvb60pvzx82dpc13ksdj5k92ww09czclkdz8k0dxa7hb";
};
propagatedBuildInputs = with self; [
pyperclip
urwid
];
doCheck = false;
meta = {
description = "Console UI for pass";
homepage = https://github.com/Kwpolska/upass;
license = licenses.bsd3;
};
};
update_checker = callPackage ../development/python-modules/update_checker {}; update_checker = callPackage ../development/python-modules/update_checker {};