3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.pybase64: init at 0.2.1

`pybase64` is a tiny wrapper for `libbase64` written in python.

/cc @ironpinguin
This commit is contained in:
Maximilian Bosch 2018-02-04 14:08:02 +01:00
parent 9d188f908c
commit 14da2e22b4
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ buildPythonPackage, stdenv, fetchPypi, parameterized, six, nose }:
buildPythonPackage rec {
pname = "pybase64";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "1hggg69s5r8jyqdwyzri5sn3f19p7ayl0fjhjma0qzgfp7bk6zjc";
};
propagatedBuildInputs = [ six ];
checkInputs = [ parameterized nose ];
checkPhase = ''
nosetests
'';
meta = with stdenv.lib; {
homepage = https://pypi.python.org/pypi/pybase64;
description = "Fast Base64 encoding/decoding";
license = licenses.bsd2;
maintainers = with maintainers; [ ma27 ];
};
}

View file

@ -12823,6 +12823,8 @@ in {
kmsxx = callPackage ../development/libraries/kmsxx { };
pybase64 = callPackage ../development/python-modules/pybase64 { };
pylibconfig2 = buildPythonPackage rec {
name = "pylibconfig2-${version}";
version = "0.2.4";