diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pybase64/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pybase64/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pybase64/default.nix b/nixpkgs/pkgs/development/python-modules/pybase64/default.nix new file mode 100644 index 000000000000..afc353d182c4 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/pybase64/default.nix @@ -0,0 +1,25 @@ +{ buildPythonPackage, stdenv, fetchPypi, six, pytest }: + +buildPythonPackage rec { + pname = "pybase64"; + version = "0.5.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "b26263fb6aff11b1e62965c3bac205c4ebe147f37c213191384acafea7f8ab50"; + }; + + propagatedBuildInputs = [ six ]; + checkInputs = [ pytest ]; + + checkPhase = '' + py.test + ''; + + meta = with stdenv.lib; { + homepage = https://pypi.python.org/pypi/pybase64; + description = "Fast Base64 encoding/decoding"; + license = licenses.bsd2; + maintainers = with maintainers; [ ma27 ]; + }; +} |