yodl: Sourceforge -> (fetchFrom)GitHub
Cosmetic tweaks; maintain. CC@ pSub
This commit is contained in:
parent
c2de55e6f8
commit
cfe12c7edd
1 changed files with 14 additions and 10 deletions
|
@ -1,20 +1,24 @@
|
|||
{ stdenv, fetchurl, perl, icmake, utillinux }:
|
||||
{ stdenv, fetchFromGitHub, perl, icmake, utillinux }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let version = "3.05.01"; in
|
||||
stdenv.mkDerivation {
|
||||
name = "yodl-${version}";
|
||||
version = "3.05.01";
|
||||
|
||||
buildInputs = [ perl icmake ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/yodl/yodl_${version}.orig.tar.gz";
|
||||
sha256 = "0ghdzr3lzgfzvfymnjbj4mw8vpq098swvipxghhqgfmv58dhwgas";
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "02vbayvnz5p0055456i8kc8qxywkhn7agfrx1kwxaalbsnrd4g9h";
|
||||
rev = version;
|
||||
repo = "yodl";
|
||||
owner = "fbb-git";
|
||||
};
|
||||
|
||||
sourceRoot = "yodl-${version}-src/yodl";
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs scripts/.
|
||||
substituteInPlace INSTALL.im --replace /usr $out
|
||||
patchShebangs ./build
|
||||
patchShebangs scripts/
|
||||
substituteInPlace INSTALL.im --replace /usr $out
|
||||
substituteInPlace macros/rawmacros/startdoc.pl --replace /usr/bin/perl ${perl}/bin/perl
|
||||
substituteInPlace scripts/yodl2whatever.in --replace getopt ${utillinux}/bin/getopt
|
||||
'';
|
||||
|
@ -33,9 +37,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A package that implements a pre-document language and tools to process it";
|
||||
homepage = http://yodl.sourceforge.net/;
|
||||
homepage = https://fbb-git.github.io/yodl/;
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
maintainers = with maintainers; [ nckx pSub ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue