3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/text/dos2unix/default.nix
William A. Kennington III 1b82194892 dos2unix: 7.2.1 -> 7.2.2
2015-05-26 01:36:35 -07:00

25 lines
668 B
Nix

{stdenv, fetchurl, perl, gettext }:
stdenv.mkDerivation rec {
name = "dos2unix-7.2.2";
src = fetchurl {
url = "http://waterlan.home.xs4all.nl/dos2unix/${name}.tar.gz";
sha256 = "04i6kkl6l1vp1b81i0wncixwyab2dzmh7vp1cvma8zr6jrr908ww";
};
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;
};
}