Skip to content
Permalink
Browse files

Merge pull request #61569 from dtzWill/update/discount-2.2.6

discount: 2.2.4 -> 2.2.6, tests
  • Loading branch information...
worldofpeace committed May 15, 2019
2 parents f625490 + cb1cf09 commit bc9df0f66110039e495b6debe3a6cda4a1bb0fed
Showing with 10 additions and 6 deletions.
  1. +10 −6 pkgs/tools/text/discount/default.nix
@@ -1,12 +1,14 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, fetchFromGitHub }:

stdenv.mkDerivation rec {
version = "2.2.4";
name = "discount-${version}";
version = "2.2.6";
pname = "discount";

src = fetchurl {
url = "http://www.pell.portland.or.us/~orc/Code/discount/discount-${version}.tar.bz2";
sha256 = "199hwajpspqil0a4y3yxsmhdp2dm73gqkzfk4mrwzsmlq8y1xzbl";
src = fetchFromGitHub {
owner = "Orc";
repo = pname;
rev = "v${version}";
sha256 = "1y066jkxfas0vdixbqq66j9p00a102sbfgq5gbrblfczqjrmc38w";
};

patches = ./fix-configure-path.patch;
@@ -19,6 +21,8 @@ stdenv.mkDerivation rec {
"--with-fenced-code"
];

doCheck = true;

meta = with stdenv.lib; {
description = "Implementation of Markdown markup language in C";
homepage = http://www.pell.portland.or.us/~orc/Code/discount/;

0 comments on commit bc9df0f

Please sign in to comment.
You can’t perform that action at this time.