diff --git a/pkgs/development/python-modules/xstatic-pygments/default.nix b/pkgs/development/python-modules/xstatic-pygments/default.nix new file mode 100644 index 000000000000..8ec9b77860c2 --- /dev/null +++ b/pkgs/development/python-modules/xstatic-pygments/default.nix @@ -0,0 +1,25 @@ +{ buildPythonPackage +, lib +, fetchPypi +}: + +buildPythonPackage rec { + pname = "XStatic-Pygments"; + version = "1.6.0.1"; + + src = fetchPypi { + inherit version pname; + sha256 = "0fjqgg433wfdnswn7fad1g6k2x6mf24wfnay2j82j0fwgkdxrr7m"; + }; + + # no tests implemented + doCheck = false; + + meta = with lib;{ + homepage = http://pygments.org; + description = "pygments packaged static files for python"; + license = licenses.mit; + maintainers = with maintainers; [ makefu ]; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 53f5cf063d84..78491a1c0901 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -20479,21 +20479,7 @@ EOF xstatic-jquery-ui = callPackage ../development/python-modules/xstatic-jquery-ui {}; - xstatic-pygments = buildPythonPackage rec { - name = "XStatic-Pygments-${version}"; - version = "1.6.0.1"; - src = pkgs.fetchurl { - url = "mirror://pypi/X/XStatic-Pygments/XStatic-Pygments-${version}.tar.gz"; - sha256 = "0fjqgg433wfdnswn7fad1g6k2x6mf24wfnay2j82j0fwgkdxrr7m"; - }; - - meta = { - homepage = http://pygments.org; - description = "pygments packaged static files for python"; - license = licenses.bsd2; - maintainers = [ maintainers.makefu ]; - }; - }; + xstatic-pygments = callPackage ../development/python-modules/xstatic-pygments {}; xvfbwrapper = callPackage ../development/python-modules/xvfbwrapper { inherit (pkgs.xorg) xorgserver;