3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pybase64/default.nix

26 lines
576 B
Nix
Raw Normal View History

2018-04-04 19:13:41 +01:00
{ buildPythonPackage, stdenv, fetchPypi, six, pytest }:
buildPythonPackage rec {
pname = "pybase64";
2018-06-12 17:47:04 +01:00
version = "0.4.0";
src = fetchPypi {
inherit pname version;
2018-06-12 17:47:04 +01:00
sha256 = "d415057b17bd8acf65e7a2f5d25e468b5b39df3290c7d9dbb75c0785afbdf3cf";
};
propagatedBuildInputs = [ six ];
2018-04-04 19:13:41 +01:00
checkInputs = [ pytest ];
checkPhase = ''
2018-04-04 19:13:41 +01:00
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 ];
};
}