nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "pybase64";
10 version = "1.2.1";
11
12 disabled = pythonOlder "3.6";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "d2016a3a487d3d4501d8281f61ee54c25efd65e37a4c7dce8011e0de7183c956";
17 };
18
19 checkInputs = [ pytestCheckHook ];
20
21 pythonImportsCheck = [ "pybase64" ];
22
23 meta = with lib; {
24 description = "Fast Base64 encoding/decoding";
25 homepage = "https://github.com/mayeut/pybase64";
26 license = licenses.bsd2;
27 maintainers = with maintainers; [ ];
28 };
29}