lol

pythonPackages.yenc: init at 0.4.0

+35
+32
pkgs/development/python-modules/yenc/default.nix
··· 1 + { fetchurl 2 + , lib 3 + , buildPythonPackage 4 + , python 5 + , isPyPy 6 + , isPy3k 7 + }: 8 + 9 + let 10 + pname = "yenc"; 11 + version = "0.4.0"; 12 + in buildPythonPackage { 13 + name = "${pname}-${version}"; 14 + 15 + src = fetchurl { 16 + url = "https://bitbucket.org/dual75/yenc/get/${version}.tar.gz"; 17 + sha256 = "0zkyzxgq30mbrzpnqam4md0cb09d5falh06m0npc81nnlhcghkp7"; 18 + }; 19 + 20 + checkPhase = '' 21 + ${python.interpreter} -m unittest discover -s test 22 + ''; 23 + 24 + disabled = isPy3k || isPyPy; 25 + 26 + meta = { 27 + description = "Encoding and decoding yEnc"; 28 + license = lib.licenses.lgpl21; 29 + homepage = https://bitbucket.org/dual75/yenc; 30 + maintainers = with lib.maintainers; [ fridh ]; 31 + }; 32 + }
+3
pkgs/top-level/python-packages.nix
··· 31902 31902 }; 31903 31903 }; 31904 31904 31905 + yenc = callPackage ../development/python-modules/yenc { 31906 + }; 31907 + 31905 31908 zeitgeist = if isPy3k then throw "zeitgeist not supported for interpreter ${python.executable}" else 31906 31909 (pkgs.zeitgeist.override{python2Packages=self;}).py; 31907 31910