pythonPackages.pyptlib: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-26 10:10:22 -04:00
committed by Frederik Rietdijk
parent 7069d5ebe5
commit 52ea2961d5
2 changed files with 27 additions and 16 deletions

View File

@@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPyPy
, isPy3k
}:
buildPythonPackage rec {
pname = "pyptlib";
version = "0.0.6";
disabled = isPyPy || isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "01y6vbwncqb0hxlnin6whd9wrrm5my4qzjhk76fnix78v7ip515r";
};
doCheck = false; # No such file or directory errors on 32bit
meta = with stdenv.lib; {
homepage = https://pypi.org/project/pyptlib/;
description = "A python implementation of the Pluggable Transports for Circumvention specification for Tor";
license = licenses.bsd2;
};
}