fix: csound-manual by using newer git revision (#57663)

This commit is contained in:
Hlöðver Sigurðsson 2019-03-24 07:19:54 +01:00 committed by Dmitry Kalinkin
parent 6f95ac3588
commit 990eaa30d9

View File

@ -1,19 +1,20 @@
{ {
stdenv, fetchurl, docbook_xsl, stdenv, fetchFromGitHub, docbook_xsl,
docbook_xml_dtd_45, python, pygments, docbook_xml_dtd_45, python, pygments,
libxslt libxslt
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "6.12.0"; pname = "csound-manual";
name = "csound-manual-${version}"; version = "unstable-2019-02-22";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/csound/manual/archive/${version}.tar.gz"; owner = "csound";
sha256 = "1v1scp468rnfbcajnp020kdj8zigimc2mbcwzxxqi8sf8paccdrp"; repo = "manual";
rev = "3b0bdc83f9245261b4b85a57c3ed636d5d924a4f";
sha256 = "074byjhaxraapyg54dxgg7hi1d4978aa9c1rmyi50p970nsxnacn";
}; };
prePatch = '' prePatch = ''
substituteInPlace manual.xml \ substituteInPlace manual.xml \
--replace "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \ --replace "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \
@ -41,4 +42,3 @@ stdenv.mkDerivation rec {
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.all;
}; };
} }