Update atanks
This commit is contained in:
parent
a7984cca3b
commit
874e4d7d23
|
@ -11,17 +11,17 @@ let
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||||
sourceInfo = rec {
|
sourceInfo = rec {
|
||||||
baseName="atanks";
|
baseName="atanks";
|
||||||
version="4.9";
|
version = "6.0";
|
||||||
name="${baseName}-${version}";
|
name="${baseName}-${version}";
|
||||||
project="${baseName}";
|
project="${baseName}";
|
||||||
url="mirror://sourceforge/project/${project}/${baseName}/${name}/${name}.tar.gz";
|
url="mirror://sourceforge/project/${project}/${baseName}/${name}/${name}.tar.gz";
|
||||||
hash="015nwh8jk4k24ci6ilihii8idkyf6g266r4vl50csvykc82slrvd";
|
sha256 = "0460zwzd800vcgsmd1dzb7j5wcy3lf9hsdw152f6p2mbd0nq5pds";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
src = a.fetchurl {
|
src = a.fetchurl {
|
||||||
url = sourceInfo.url;
|
url = sourceInfo.url;
|
||||||
sha256 = sourceInfo.hash;
|
sha256 = sourceInfo.sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
inherit (sourceInfo) name version;
|
||||||
|
@ -35,6 +35,7 @@ rec {
|
||||||
fixInstall = a.fullDepEntry (''
|
fixInstall = a.fullDepEntry (''
|
||||||
sed -e "s@INSTALL=.*bin/install @INSTALL=install @" -i Makefile
|
sed -e "s@INSTALL=.*bin/install @INSTALL=install @" -i Makefile
|
||||||
sed -e "s@-g 0 -m ... -o 0@@" -i Makefile
|
sed -e "s@-g 0 -m ... -o 0@@" -i Makefile
|
||||||
|
sed -e 's@/usr/@'"$out"'@g' -i Makefile
|
||||||
'') ["doUnpack" "minInit"];
|
'') ["doUnpack" "minInit"];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -45,11 +46,8 @@ rec {
|
||||||
];
|
];
|
||||||
platforms = with a.lib.platforms;
|
platforms = with a.lib.platforms;
|
||||||
linux;
|
linux;
|
||||||
};
|
downloadPage = "http://sourceforge.net/projects/atanks/files/atanks/";
|
||||||
passthru = {
|
inherit version;
|
||||||
updateInfo = {
|
|
||||||
downloadPage = "http://sourceforge.net/projects/atanks/files/atanks/";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}) x
|
}) x
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue