depot/third_party/nixpkgs/pkgs/development/python-modules/yenc/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

29 lines
611 B
Nix

{ fetchurl
, lib
, buildPythonPackage
, python
, isPyPy
, isPy3k
}:
buildPythonPackage rec{
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;
homepage = "https://bitbucket.org/dual75/yenc";
maintainers = with lib.maintainers; [ fridh ];
};
}