mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
a9ce52e01a
svn path=/nixpkgs/trunk/; revision=28788
25 lines
650 B
Nix
25 lines
650 B
Nix
{stdenv, fetchurl, perl, gettext }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "dos2unix-5.3.1";
|
|
|
|
src = fetchurl {
|
|
url = http://waterlan.home.xs4all.nl/dos2unix/dos2unix-5.3.1.tar.gz;
|
|
sha256 = "0bwqw3wi0j4f1x8d39xw5v57ac0bc58j41vjx8v2qm1smg9jyci1";
|
|
};
|
|
|
|
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 = "BSD";
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
platforms = with stdenv.lib.platforms; all;
|
|
};
|
|
}
|