1 {lib, stdenv, fetchurl, perl, gettext }:
3 stdenv.mkDerivation rec {
8 url = "https://waterlan.home.xs4all.nl/dos2unix/${pname}-${version}.tar.gz";
9 sha256 = "sha256-JkdCRGYIRC60j5bCCvbaMDyzqSs2TnLLfiT4gjnEvzo=";
12 nativeBuildInputs = [ perl gettext ];
13 makeFlags = [ "prefix=${placeholder "out"}" ];
16 description = "Convert text files with DOS or Mac line breaks to Unix line breaks and vice versa";
17 homepage = "https://waterlan.home.xs4all.nl/dos2unix.html";
18 changelog = "https://sourceforge.net/p/dos2unix/dos2unix/ci/dos2unix-${version}/tree/dos2unix/NEWS.txt?format=raw";
19 license = licenses.bsd2;
20 maintainers = with maintainers; [ c0bw3b ];
21 platforms = platforms.all;