2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-10-29 12:59:28 -04:00
|
|
|
, buildPythonPackage
|
2020-11-01 23:39:49 +01:00
|
|
|
, fetchFromGitHub
|
2021-05-06 10:50:55 -07:00
|
|
|
, poetry-core
|
2018-10-29 12:59:28 -04:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "unpaddedbase64";
|
2021-05-06 10:50:55 -07:00
|
|
|
version = "2.1.0";
|
|
|
|
format = "pyproject";
|
2018-10-29 12:59:28 -04:00
|
|
|
|
2020-11-01 23:39:49 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "matrix-org";
|
|
|
|
repo = "python-${pname}";
|
2018-10-29 12:59:28 -04:00
|
|
|
rev = "refs/tags/v${version}";
|
2021-05-06 10:50:55 -07:00
|
|
|
sha256 = "1n6har8pxv0mqb96lanzihp1xf76aa17jw3977drb1fgz947pnmz";
|
2018-10-29 12:59:28 -04:00
|
|
|
};
|
|
|
|
|
2021-05-06 10:50:55 -07:00
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://github.com/matrix-org/python-unpaddedbase64";
|
2018-10-29 12:59:28 -04:00
|
|
|
description = "Unpadded Base64";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|