Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
882 B · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, setuptools, setuptools-scm, autocommand, importlib-resources, path, pytestCheckHook,}:
buildPythonPackage rec { pname = "oathtool"; version = "2.4.0"; pyproject = true;
src = fetchFromGitHub { owner = "jaraco"; repo = "oathtool"; tag = "v${version}"; hash = "sha256-Qa4/fVa7Ws8t42MxZpEVKI7Wyux/uN77VP0JBnrmgq0="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ autocommand path ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "oathtool" ];
meta = { description = "One-time password generator"; homepage = "https://github.com/jaraco/oathtool"; changelog = "https://github.com/jaraco/oathtool/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.jamiemagee ]; };}