python3Packages.onetimepass: init at 1.0.1
This commit is contained in:
parent
f2a619bcca
commit
8c9badab16
2 changed files with 32 additions and 0 deletions
30
pkgs/development/python-modules/onetimepass/default.nix
Normal file
30
pkgs/development/python-modules/onetimepass/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, six, timecop }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "onetimepass";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tadeck";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0wmv62l3r8r4428gdzyj80lhgadfqvj220khz1wnm9alyzg60wkh";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
timecop
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "onetimepass" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "One-time password library for HMAC-based (HOTP) and time-based (TOTP) passwords";
|
||||
homepage = "https://github.com/tadeck/onetimepass";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ zakame ];
|
||||
};
|
||||
}
|
|
@ -5170,6 +5170,8 @@ in {
|
|||
|
||||
ondilo = callPackage ../development/python-modules/ondilo { };
|
||||
|
||||
onetimepass = callPackage ../development/python-modules/onetimepass { };
|
||||
|
||||
onkyo-eiscp = callPackage ../development/python-modules/onkyo-eiscp { };
|
||||
|
||||
onlykey-solo-python = callPackage ../development/python-modules/onlykey-solo-python { };
|
||||
|
|
Loading…
Reference in a new issue