mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
remove texDisser, it's now part of texlive-new
This commit is contained in:
parent
0b3becb269
commit
2c2b9fea66
@ -1,55 +0,0 @@
|
||||
x@{builderDefsPackage
|
||||
, unzip, texLive, texLiveCMSuper, texLiveAggregationFun
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
["texLive" "texLiveCMSuper" "texLiveAggregationFun"];
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames))
|
||||
++ [(a.texLiveAggregationFun {paths=[a.texLive a.texLiveCMSuper];})];
|
||||
sourceInfo = rec {
|
||||
baseName="disser";
|
||||
version="1.3.0";
|
||||
name="${baseName}-${version}";
|
||||
project="${baseName}";
|
||||
url="mirror://sourceforge/project/${project}/${baseName}/${version}/${name}.zip";
|
||||
hash="1iab3va6xw53l8xzmd83kbnzqah9f6imzzfd3c2054q53p0ndlim";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["setVars" "doMakeInstall"];
|
||||
|
||||
setVars = a.noDepEntry ''
|
||||
export HOME="$TMPDIR"
|
||||
'';
|
||||
|
||||
makeFlags = ["DESTDIR=$out/share/texmf-dist"];
|
||||
|
||||
meta = {
|
||||
description = "Russian PhD thesis LaTeX package";
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux; # platform-independent
|
||||
license = a.lib.licenses.free; # LaTeX Project Public License
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://sourceforge.net/projects/disser/files/disser/";
|
||||
};
|
||||
};
|
||||
}) x
|
Loading…
Reference in New Issue
Block a user