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