File tree 2 files changed +31
-23
lines changed
development/python-modules/Pygments
2 files changed +31
-23
lines changed Original file line number Diff line number Diff line change
1
+ { lib
2
+ , buildPythonPackage
3
+ , fetchPypi
4
+ , docutils
5
+ } :
6
+
7
+ buildPythonPackage rec {
8
+ pname = "Pygments" ;
9
+ version = "2.2.0" ;
10
+ name = "${ pname } -${ version } " ;
11
+
12
+ src = fetchPypi {
13
+ inherit pname version ;
14
+ sha256 = "1k78qdvir1yb1c634nkv6rbga8wv4289xarghmsbbvzhvr311bnv" ;
15
+ } ;
16
+
17
+ propagatedBuildInputs = [ docutils ] ;
18
+
19
+ # Circular dependency with sphinx
20
+ doCheck = false ;
21
+
22
+ meta = {
23
+ homepage = http://pygments.org/ ;
24
+ description = "A generic syntax highlighter" ;
25
+ license = lib . licenses . bsd2 ;
26
+ maintainers = with lib . maintainers ; [ nckx garbas ] ;
27
+ } ;
28
+ }
Original file line number Diff line number Diff line change @@ -19902,38 +19902,18 @@ in {
19902
19902
};
19903
19903
};
19904
19904
19905
- pygments = buildPythonPackage rec {
19906
- version = "2.2.0";
19907
- name = "Pygments-${version}";
19908
-
19909
- src = pkgs.fetchurl {
19910
- url = "mirror://pypi/P/Pygments/${name}.tar.gz";
19911
- sha256 = "1k78qdvir1yb1c634nkv6rbga8wv4289xarghmsbbvzhvr311bnv";
19912
- };
19913
-
19914
- propagatedBuildInputs = with self; [ docutils ];
19915
-
19916
- # Circular dependency with sphinx
19917
- doCheck = false;
19918
-
19919
- meta = {
19920
- homepage = http://pygments.org/;
19921
- description = "A generic syntax highlighter";
19922
- license = licenses.bsd2;
19923
- maintainers = with maintainers; [ nckx garbas ];
19924
- };
19925
- };
19905
+ pygments = callPackage ../development/python-modules/Pygments { };
19926
19906
19927
19907
# For Pelican 3.6.3
19928
- pygments_2_0 = self.pygments.override rec {
19908
+ pygments_2_0 = self.pygments.overrideAttrs( oldAttrs: rec {
19929
19909
version = "2.0.2";
19930
19910
name = "Pygments-${version}";
19931
19911
19932
19912
src = pkgs.fetchurl {
19933
19913
url = "mirror://pypi/P/Pygments/${name}.tar.gz";
19934
19914
sha256 = "7320919084e6dac8f4540638a46447a3bd730fca172afc17d2c03eed22cf4f51";
19935
19915
};
19936
- };
19916
+ }) ;
19937
19917
19938
19918
pygpgme = buildPythonPackage rec {
19939
19919
version = "0.3";
You can’t perform that action at this time.
1 commit comments
matthewbauer commentedon May 8, 2017
It's probably just a flaky test in Sphinx but this is causing Sphinx to fail:
http://hydra.nixos.org/build/52574081/nixlog/1