summary refs log tree commit diff
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2020-11-30 18:42:08 -0300
committerGitHub <noreply@github.com>2020-11-30 18:42:08 -0300
commit7714edc2e5001b4d0128de93df723cc1d27b2842 (patch)
treed21829a4dbdb0d0f8a35e8480b7939568db838e5 /pkgs/tools/text
parent39f768379c2f279d42c2d12a7b80097fa84f99ad (diff)
parent90aacae8a503cbf592d8b422b83f02e9bd6cb274 (diff)
downloadnixpkgs-7714edc2e5001b4d0128de93df723cc1d27b2842.tar
nixpkgs-7714edc2e5001b4d0128de93df723cc1d27b2842.tar.gz
nixpkgs-7714edc2e5001b4d0128de93df723cc1d27b2842.tar.bz2
nixpkgs-7714edc2e5001b4d0128de93df723cc1d27b2842.tar.lz
nixpkgs-7714edc2e5001b4d0128de93df723cc1d27b2842.tar.xz
nixpkgs-7714edc2e5001b4d0128de93df723cc1d27b2842.tar.zst
nixpkgs-7714edc2e5001b4d0128de93df723cc1d27b2842.zip
Merge pull request #105489 from AndersonTorres/update-rst2html5
rst2html5: 1.9.4 -> 1.10.6
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/rst2html5/default.nix21
1 files changed, 12 insertions, 9 deletions
diff --git a/pkgs/tools/text/rst2html5/default.nix b/pkgs/tools/text/rst2html5/default.nix
index d20ce99dd74..6f484bed8bc 100644
--- a/pkgs/tools/text/rst2html5/default.nix
+++ b/pkgs/tools/text/rst2html5/default.nix
@@ -1,19 +1,22 @@
-{ stdenv, fetchurl, pythonPackages }:
+{ lib, python3Packages }:
 
-pythonPackages.buildPythonPackage rec {
+let
   pname = "rst2html5";
-  version = "1.9.4";
+  version = "1.10.6";
+in python3Packages.buildPythonPackage {
+  inherit pname version;
+  format = "wheel";
 
-  src = fetchurl {
-    url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}.tar.gz";
-    sha256 = "d044589d30eeaf7336986078b7bd175510fd649a212b01a457d7806b279e6c73";
+  src = python3Packages.fetchPypi {
+    inherit pname version;
+    sha256 = "sha256-jmToDFLQODqgTycBp2J8LyoJ1Zxho9w1VdhFMzvDFkg=";
   };
 
-  propagatedBuildInputs = with pythonPackages;
+  propagatedBuildInputs = with python3Packages;
   [ docutils genshi pygments beautifulsoup4 ];
 
-  meta = with stdenv.lib;{
-    homepage = "https://bitbucket.org/andre_felipe_dias/rst2html5";
+  meta = with lib;{
+    homepage = "https://pypi.org/project/rst2html5/";
     description = "Converts ReSTructuredText to (X)HTML5";
     license = licenses.mit;
     maintainers = with maintainers; [ AndersonTorres ];