bffcb980e3
* dos2unix: 7.4.0 -> 7.4.1 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/dos2unix/versions * dos2unix: cleanup
22 lines
779 B
Nix
22 lines
779 B
Nix
{stdenv, fetchurl, perl, gettext }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dos2unix";
|
|
version = "7.4.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://waterlan.home.xs4all.nl/dos2unix/${pname}-${version}.tar.gz";
|
|
sha256 = "08w6yywzirsxq8bh87jycvvw922ybhc2l426j2iqzliyn1h8mm8w";
|
|
};
|
|
|
|
nativeBuildInputs = [ perl gettext ];
|
|
makeFlags = [ "prefix=${placeholder "out"}" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Convert text files with DOS or Mac line breaks to Unix line breaks and vice versa";
|
|
homepage = "https://waterlan.home.xs4all.nl/dos2unix.html";
|
|
changelog = "https://sourceforge.net/p/dos2unix/dos2unix/ci/dos2unix-${version}/tree/dos2unix/NEWS.txt?format=raw";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ c0bw3b ndowens ];
|
|
};
|
|
}
|