tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.pyutil: init at 3.3.0
Pavol Rusnak
4 years ago
c8e3c1fa
8ff78e6a
+7
-8
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
pyutil
default.nix
top-level
python-packages.nix
+5
-8
pkgs/development/python-modules/pyutil/default.nix
···
1
1
{ lib
2
2
, buildPythonPackage
3
3
, fetchPypi
4
4
-
, setuptoolsDarcs
5
5
-
, setuptoolsTrial
6
4
, simplejson
5
5
+
, mock
7
6
, twisted
8
7
, isPyPy
9
8
}:
···
17
16
sha256 = "8c4d4bf668c559186389bb9bce99e4b1b871c09ba252a756ccaacd2b8f401848";
18
17
};
19
18
20
20
-
buildInputs = [ setuptoolsDarcs setuptoolsTrial ] ++ (if doCheck then [ simplejson ] else []);
21
21
-
propagatedBuildInputs = [ twisted ];
19
19
+
propagatedBuildInputs = [ simplejson ];
22
20
23
23
-
# Tests fail because they try to write new code into the twisted
24
24
-
# package, apparently some kind of plugin.
25
25
-
doCheck = false;
21
21
+
checkInputs = [ mock twisted ];
26
22
27
23
prePatch = lib.optionalString isPyPy ''
28
24
grep -rl 'utf-8-with-signature-unix' ./ | xargs sed -i -e "s|utf-8-with-signature-unix|utf-8|g"
···
41
37
we're not alone in wanting tools like these.
42
38
'';
43
39
44
44
-
homepage = "http://allmydata.org/trac/pyutil";
40
40
+
homepage = "https://github.com/tpltnt/pyutil";
45
41
license = licenses.gpl2Plus;
42
42
+
maintainers = with maintainers; [ prusnak ];
46
43
};
47
44
48
45
}
+2
pkgs/top-level/python-packages.nix
···
5409
5409
5410
5410
python-tado = callPackage ../development/python-modules/python-tado { };
5411
5411
5412
5412
+
pyutil = callPackage ../development/python-modules/pyutil { };
5413
5413
+
5412
5414
pkutils = callPackage ../development/python-modules/pkutils { };
5413
5415
5414
5416
plac = callPackage ../development/python-modules/plac { };