3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/text/dos2unix/default.nix

25 lines
665 B
Nix
Raw Normal View History

{stdenv, fetchurl, perl, gettext }:
stdenv.mkDerivation {
2014-10-06 20:57:59 +01:00
name = "dos2unix-7.0";
src = fetchurl {
2014-10-06 20:57:59 +01:00
url = http://waterlan.home.xs4all.nl/dos2unix/dos2unix-7.0.tar.gz;
sha256 = "0az7nkgddnmimb88sj004klszbvkir02f4zlnij8drc6b80gw6jm";
};
configurePhase = ''
sed -i -e s,/usr,$out, Makefile
'';
buildInputs = [ perl gettext ];
meta = {
homepage = http://waterlan.home.xs4all.nl/dos2unix.html;
description = "Tools to transform text files from dos to unix formats and vicervesa";
license = stdenv.lib.licenses.bsd2;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; all;
};
}