Skip to content

Commit

Permalink
fix: csound-manual by using newer git revision (#57663)
Browse files Browse the repository at this point in the history
  • Loading branch information
hlolli authored and veprbl committed Mar 24, 2019
1 parent 6f95ac3 commit 990eaa3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions pkgs/applications/audio/csound/csound-manual/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
{
stdenv, fetchurl, docbook_xsl,
docbook_xml_dtd_45, python, pygments,
libxslt
{
stdenv, fetchFromGitHub, docbook_xsl,
docbook_xml_dtd_45, python, pygments,
libxslt
}:

stdenv.mkDerivation rec {
version = "6.12.0";
name = "csound-manual-${version}";

src = fetchurl {
url = "https://github.com/csound/manual/archive/${version}.tar.gz";
sha256 = "1v1scp468rnfbcajnp020kdj8zigimc2mbcwzxxqi8sf8paccdrp";
pname = "csound-manual";
version = "unstable-2019-02-22";

src = fetchFromGitHub {
owner = "csound";
repo = "manual";
rev = "3b0bdc83f9245261b4b85a57c3ed636d5d924a4f";
sha256 = "074byjhaxraapyg54dxgg7hi1d4978aa9c1rmyi50p970nsxnacn";
};


prePatch = ''
substituteInPlace manual.xml \
--replace "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \
Expand Down Expand Up @@ -41,4 +42,3 @@ stdenv.mkDerivation rec {
platforms = stdenv.lib.platforms.all;
};
}

0 comments on commit 990eaa3

Please sign in to comment.