pythonPackages.zbase32: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-29 09:52:36 -04:00
parent 6426e0f01e
commit 0f2f899bba
2 changed files with 28 additions and 20 deletions

View File

@@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, setuptoolsDarcs
}:
buildPythonPackage rec {
pname = "zbase32";
version = "1.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "2f44b338f750bd37b56e7887591bf2f1965bfa79f163b6afcbccf28da642ec56";
};
# Tests require `pyutil' so disable them to avoid circular references.
doCheck = false;
propagatedBuildInputs = [ setuptoolsDarcs ];
meta = with stdenv.lib; {
description = "zbase32, a base32 encoder/decoder";
homepage = https://pypi.python.org/pypi/zbase32;
license = licenses.bsd0;
};
}