git.iko.soy/typeable/nixpkgs
on master help sign in
ftfy: init at 4.4.3
commitfe17ed640a9cf9673b1d3e59affa4903b2992982 authorSasha Delly <shura.sdll@gmail.com> dateSun 14 May 2017, 22:26 (10 years ago) parent58b2848
2 files changed+37
pkgs/development/python-modules/ftfy/default.nix+35 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/ftfy/default.nixnew file+35
@@ -0,0 +1,35 @@
1+{ stdenv
2+, buildPythonPackage
3+, fetchPypi
4+, html5lib
5+, wcwidth
6+, nose
7+, python
8+}:
9+buildPythonPackage rec {
10+ name = "${pname}-${version}";
11+ pname = "ftfy";
12+ version = "4.4.3";
13+
14+ src = fetchPypi {
15+ inherit pname version;
16+ sha256 = "152xdb56rhs1q4r0ck1n557sbphw7zq18r75a7kkd159ckdnc01w";
17+ };
18+
19+ propagatedBuildInputs = [ html5lib wcwidth];
20+
21+ buildInputs = [
22+ nose
23+ ];
24+
25+ checkPhase = ''
26+ nosetests -v
27+ '';
28+
29+ meta = with stdenv.lib; {
30+ description = "Given Unicode text, make its representation consistent and possibly less broken.";
31+ homepage = https://github.com/LuminosoInsight/python-ftfy/tree/master/tests;
32+ license = licenses.mit;
33+ maintainers = with maintainers; [ sdll ];
34+ };
35+}
pkgs/top-level/python-packages.nix+2
@@ -28717,6 +28717,8 @@ EOF
2871728717
2871828718 cymem = callPackage ../development/python-modules/cymem { };
2871928719
28720+ ftfy = callPackage ../development/python-modules/ftfy { };
28721+
2872028722});
2872128723
2872228724in fix' (extends overrides packages)