nixpkgs/pkgs/tools/text/dos2unix/default.nix
Lluís Batlle i Rossell 66d7126255 Take me (viric) out of most maintenance
Since years I'm not maintaining anything of the list below other
than some updates when I needed them for some reason. Other people
is doing that maintenance on my behalf so I better take me out but
for very few packages. Finally!
2018-07-22 21:50:19 +02:00

27 lines
667 B
Nix

{stdenv, fetchurl, perl, gettext }:
stdenv.mkDerivation rec {
name = "dos2unix-${version}";
version = "7.4.0";
src = fetchurl {
url = "https://waterlan.home.xs4all.nl/dos2unix/${name}.tar.gz";
sha256 = "12h4c61g376bhq03y5g2xszkrkrj5hwd928rly3xsp6rvfmnbixs";
};
configurePhase = ''
substituteInPlace Makefile \
--replace /usr $out
'';
buildInputs = [ perl gettext ];
meta = with stdenv.lib; {
homepage = http://waterlan.home.xs4all.nl/dos2unix.html;
description = "Tools to transform text files from dos to unix formats and vicervesa";
license = licenses.bsd2;
maintainers = with maintainers; [ndowens ];
};
}