1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, poetry-core
5}:
6
7buildPythonPackage rec {
8 pname = "unpaddedbase64";
9 version = "2.1.0";
10 format = "pyproject";
11
12 src = fetchFromGitHub {
13 owner = "matrix-org";
14 repo = "python-${pname}";
15 rev = "refs/tags/v${version}";
16 sha256 = "1n6har8pxv0mqb96lanzihp1xf76aa17jw3977drb1fgz947pnmz";
17 };
18
19 nativeBuildInputs = [
20 poetry-core
21 ];
22
23 meta = with lib; {
24 homepage = "https://github.com/matrix-org/python-unpaddedbase64";
25 description = "Unpadded Base64";
26 license = licenses.asl20;
27 };
28
29}