From 1b10483b5e217fd1725b90009a45c05443cba737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 19 Mar 2017 13:31:13 +0100 Subject: [PATCH] htmldoc: use sha256 instead of md5 --- pkgs/tools/typesetting/htmldoc/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/typesetting/htmldoc/default.nix b/pkgs/tools/typesetting/htmldoc/default.nix index 74abb8e60c6a..0cd1343dd4b5 100644 --- a/pkgs/tools/typesetting/htmldoc/default.nix +++ b/pkgs/tools/typesetting/htmldoc/default.nix @@ -6,12 +6,13 @@ assert stdenv.isDarwin -> SystemConfiguration != null && Foundation != null; -stdenv.mkDerivation { - name = "htmldoc-1.8.29"; +stdenv.mkDerivation rec { + version = "1.8.29"; + name = "htmldoc-${version}"; src = fetchurl { url = "https://github.com/michaelrsweet/htmldoc/releases/download" - + "/release-1.8.29/htmldoc-1.8.29-source.tar.gz"; - md5 = "14d32bd772e2bc6af7b9b2233724c3ec"; + + "/release-${version}/htmldoc-${version}-source.tar.gz"; + sha256 = "15x0xdf487j4i4gfap5yr83airxnbp2v4lxaz79a4s3iirrq39p0"; }; buildInputs = stdenv.lib.ifEnable stdenv.isDarwin [SystemConfiguration Foundation];