python3Packages.upass: add pythonImportsCheck
This commit is contained in:
parent
ad6ad9af78
commit
f136a08a3b
|
@ -6,8 +6,9 @@
|
|||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.2.1";
|
||||
pname = "upass";
|
||||
version = "0.2.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Kwpolska";
|
||||
|
@ -16,14 +17,27 @@ buildPythonPackage rec {
|
|||
sha256 = "0bgplq07dmlld3lp6jag1w055glqislfgwwq2k7cb2bzjgvysdnj";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyperclip urwid ];
|
||||
propagatedBuildInputs = [
|
||||
pyperclip
|
||||
urwid
|
||||
];
|
||||
|
||||
# Projec thas no tests
|
||||
doCheck = false;
|
||||
|
||||
postInstall = ''
|
||||
export HOME=$(mktemp -d);
|
||||
mkdir $HOME/.config
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"upass"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Console UI for pass";
|
||||
homepage = "https://github.com/Kwpolska/upass";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue