1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 08:31:59 +00:00
nixpkgs/pkgs/tools/text/dos2unix/default.nix
William A. Kennington III d96b30f5b0 dos2unix: 7.2.2 -> 7.3
2015-08-30 10:57:16 -07:00

25 lines
666 B
Nix

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