mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-10 22:30:59 +00:00
29 lines
557 B
Nix
29 lines
557 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "mintotp";
|
|
version = "0.3.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
hash = "sha256-0PTbXts4p0gRIBdqUm6MKVObnoBYHdLcwYEVV9d8+tU=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonImportsCheck = [ "mintotp" ];
|
|
|
|
meta = {
|
|
description = "Minimal TOTP generator";
|
|
homepage = "https://github.com/susam/mintotp";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.lucasew ];
|
|
};
|
|
})
|