mksh 50d -> 51

R51 is a strongly recommended feature release.
Changes: <https://www.mirbsd.org/mksh.htm#clog>.

Release number changed to match Nix versioning rules ("R51" -> 51).

cc maintainer @AndersonTorres
This commit is contained in:
Tobias Geerinckx-Rice 2015-07-15 02:24:06 +02:00
parent a42b2e5f85
commit 94c94926f5

View File

@ -1,17 +1,15 @@
{ stdenv, fetchurl, groff }:
with stdenv.lib;
stdenv.mkDerivation rec {
let version = "51"; in
stdenv.mkDerivation {
name = "mksh-${version}";
version = "R50d";
src = fetchurl {
urls = [
"http://www.mirbsd.org/MirOS/dist/mir/mksh/${name}.tgz"
"http://pub.allbsd.org/MirOS/dist/mir/mksh/${name}.tgz"
"http://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R${version}.tgz"
"http://pub.allbsd.org/MirOS/dist/mir/mksh/mksh-R${version}.tgz"
];
sha256 = "10prcdffwziksq9sw96c1r09h4kg2zwznybrggzmjfa6l4k8h9m2";
sha256 = "1pyscl3w4aw067a5hb8mczy3z545jz1dwx9n2b09k09xydgsmvlz";
};
buildInputs = [ groff ];
@ -31,7 +29,8 @@ stdenv.mkDerivation rec {
install -D -m 644 dot.mkshrc $out/share/mksh/mkshrc
'';
meta = {
meta = with stdenv.lib; {
inherit version;
description = "MirBSD Korn Shell";
longDescription = ''
The MirBSD Korn Shell is a DFSG-free and OSD-compliant (and OSI
@ -41,7 +40,7 @@ stdenv.mkDerivation rec {
systems.
'';
homepage = "https://www.mirbsd.org/mksh.htm";
license = stdenv.lib.licenses.free;
license = licenses.free;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.unix;
};