2017-01-11 17:11:51 +00:00
|
|
|
{ fetchurl
|
|
|
|
, lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, python
|
|
|
|
, isPyPy
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
2020-06-08 08:37:17 +01:00
|
|
|
buildPythonPackage rec {
|
2017-01-11 17:11:51 +00:00
|
|
|
pname = "yenc";
|
|
|
|
version = "0.4.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/dual75/yenc/get/${version}.tar.gz";
|
|
|
|
sha256 = "0zkyzxgq30mbrzpnqam4md0cb09d5falh06m0npc81nnlhcghkp7";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m unittest discover -s test
|
|
|
|
'';
|
|
|
|
|
|
|
|
disabled = isPy3k || isPyPy;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Encoding and decoding yEnc";
|
|
|
|
license = lib.licenses.lgpl21;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://bitbucket.org/dual75/yenc";
|
2017-01-11 17:11:51 +00:00
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
2020-04-01 02:11:51 +01:00
|
|
|
}
|