pythonPAckages.unpaddedbase64: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 12:59:28 -04:00
parent 5db9302335
commit 246bf6c54d
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 23 additions and 11 deletions

View File

@ -0,0 +1,22 @@
{ stdenv
, buildPythonPackage
, fetchgit
}:
buildPythonPackage rec {
pname = "unpaddedbase64";
version = "1.1.0";
src = fetchgit {
url = "https://github.com/matrix-org/python-unpaddedbase64.git";
rev = "refs/tags/v${version}";
sha256 = "0if3fjfxga0bwdq47v77fs9hrcqpmwdxry2i2a7pdqsp95258nxd";
};
meta = with stdenv.lib; {
homepage = https://github.com/matrix-org/python-unpaddedbase64;
description = "Unpadded Base64";
license = licenses.asl20;
};
}

View File

@ -4387,17 +4387,7 @@ in {
signedjson = callPackage ../development/python-modules/signedjson { };
unpaddedbase64 = buildPythonPackage rec {
name = "unpaddedbase64-${version}";
version = "1.1.0";
src = pkgs.fetchgit {
url = "https://github.com/matrix-org/python-unpaddedbase64.git";
rev = "refs/tags/v${version}";
sha256 = "0if3fjfxga0bwdq47v77fs9hrcqpmwdxry2i2a7pdqsp95258nxd";
};
};
unpaddedbase64 = callPackage ../development/python-modules/unpaddedbase64 { };
thumbor = callPackage ../development/python-modules/thumbor { };