Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
951 B · 42 lines
Nix
at gcc-offload
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools, typing-extensions,}:
buildPythonPackage rec { pname = "pybase64"; version = "1.4.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "mayeut"; repo = "pybase64"; rev = "refs/tags/v${version}"; fetchSubmodules = true; hash = "sha256-Yl0P9Ygy6IirjSFrutl+fmn4BnUL1nXzbQgADNQFg3I="; };
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ] ++ lib.optionals (pythonOlder "3.12") [ typing-extensions ];
pythonImportsCheck = [ "pybase64" ];
meta = { description = "Fast Base64 encoding/decoding"; mainProgram = "pybase64"; homepage = "https://github.com/mayeut/pybase64"; changelog = "https://github.com/mayeut/pybase64/releases/tag/${lib.removePrefix "refs/tags/" src.rev}"; license = lib.licenses.bsd2; maintainers = [ ]; };}