My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/upass/default.nix

43 lines
747 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pyperclip
, urwid
}:
buildPythonPackage rec {
pname = "upass";
version = "0.2.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "Kwpolska";
repo = "upass";
rev = "v${version}";
sha256 = "0bgplq07dmlld3lp6jag1w055glqislfgwwq2k7cb2bzjgvysdnj";
};
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; [ ];
};
}