tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
pythonPackages.yenc: init at 0.4.0
Frederik Rietdijk
9 years ago
87e67cb4
d9681de6
+35
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
yenc
default.nix
top-level
python-packages.nix
+32
pkgs/development/python-modules/yenc/default.nix
reviewed
···
1
1
+
{ fetchurl
2
2
+
, lib
3
3
+
, buildPythonPackage
4
4
+
, python
5
5
+
, isPyPy
6
6
+
, isPy3k
7
7
+
}:
8
8
+
9
9
+
let
10
10
+
pname = "yenc";
11
11
+
version = "0.4.0";
12
12
+
in buildPythonPackage {
13
13
+
name = "${pname}-${version}";
14
14
+
15
15
+
src = fetchurl {
16
16
+
url = "https://bitbucket.org/dual75/yenc/get/${version}.tar.gz";
17
17
+
sha256 = "0zkyzxgq30mbrzpnqam4md0cb09d5falh06m0npc81nnlhcghkp7";
18
18
+
};
19
19
+
20
20
+
checkPhase = ''
21
21
+
${python.interpreter} -m unittest discover -s test
22
22
+
'';
23
23
+
24
24
+
disabled = isPy3k || isPyPy;
25
25
+
26
26
+
meta = {
27
27
+
description = "Encoding and decoding yEnc";
28
28
+
license = lib.licenses.lgpl21;
29
29
+
homepage = https://bitbucket.org/dual75/yenc;
30
30
+
maintainers = with lib.maintainers; [ fridh ];
31
31
+
};
32
32
+
}
+3
pkgs/top-level/python-packages.nix
reviewed
···
31902
31902
};
31903
31903
};
31904
31904
31905
31905
+
yenc = callPackage ../development/python-modules/yenc {
31906
31906
+
};
31907
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