forked from mirrors/nixpkgs
ghostscript: cosmetic
Refer to the source code as "src" rather than "data".
This commit is contained in:
parent
14da2bf31b
commit
52e5b8e2c5
1 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ let
|
||||||
maintainers = [ stdenv.lib.maintainers.ludo stdenv.lib.maintainers.viric ];
|
maintainers = [ stdenv.lib.maintainers.ludo stdenv.lib.maintainers.viric ];
|
||||||
};
|
};
|
||||||
|
|
||||||
gnuForkData = rec {
|
gnuForkSrc = rec {
|
||||||
name = "ghostscript-9.04.1";
|
name = "ghostscript-9.04.1";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/ghostscript/gnu-${name}.tar.bz2";
|
url = "mirror://gnu/ghostscript/gnu-${name}.tar.bz2";
|
||||||
|
@ -38,7 +38,7 @@ let
|
||||||
patches = [ ./purity.patch ];
|
patches = [ ./purity.patch ];
|
||||||
};
|
};
|
||||||
|
|
||||||
mainlineData = {
|
mainlineSrc = {
|
||||||
name = "ghostscript-9.05";
|
name = "ghostscript-9.05";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://downloads.ghostscript.com/public/ghostscript-9.05.tar.bz2;
|
url = http://downloads.ghostscript.com/public/ghostscript-9.05.tar.bz2;
|
||||||
|
@ -55,7 +55,7 @@ let
|
||||||
patches = [ ./purity-9.05.patch ];
|
patches = [ ./purity-9.05.patch ];
|
||||||
};
|
};
|
||||||
|
|
||||||
variant = if gnuFork then gnuForkData else mainlineData;
|
variant = if gnuFork then gnuForkSrc else mainlineSrc;
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue