Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 23 lines 799 B view raw
1{lib, stdenv, fetchurl, perl, gettext }: 2 3stdenv.mkDerivation rec { 4 pname = "dos2unix"; 5 version = "7.4.4"; 6 7 src = fetchurl { 8 url = "https://waterlan.home.xs4all.nl/dos2unix/${pname}-${version}.tar.gz"; 9 sha256 = "sha256-KKhB2wvVgn1kXKup2AFeOnGYPcbjmAcLUofuE3rkQ24="; 10 }; 11 12 nativeBuildInputs = [ perl gettext ]; 13 makeFlags = [ "prefix=${placeholder "out"}" ]; 14 15 meta = with lib; { 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; 22 }; 23}