summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorR. RyanTM <ryantm-bot@ryantm.com>2019-10-08 08:33:20 -0700
committerRenaud <c0bw3b@users.noreply.github.com>2019-10-08 17:33:20 +0200
commitbffcb980e3a4329b18ee158484a9304062468567 (patch)
tree89dbd470105cfce267f9590ac71ea02e0a424709 /pkgs/tools
parent54e4b13887a9747ec1e1965543a901ee0cf23bee (diff)
dos2unix: 7.4.0 -> 7.4.1 (#70566)
* dos2unix: 7.4.0 -> 7.4.1

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dos2unix/versions

* dos2unix: cleanup
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/text/dos2unix/default.nix18
1 files changed, 7 insertions, 11 deletions
diff --git a/pkgs/tools/text/dos2unix/default.nix b/pkgs/tools/text/dos2unix/default.nix
index bd72ec9471438..146338df91630 100644
--- a/pkgs/tools/text/dos2unix/default.nix
+++ b/pkgs/tools/text/dos2unix/default.nix
@@ -2,25 +2,21 @@
 
 stdenv.mkDerivation rec {
   pname = "dos2unix";
-  version = "7.4.0";
+  version = "7.4.1";
 
   src = fetchurl {
     url = "https://waterlan.home.xs4all.nl/dos2unix/${pname}-${version}.tar.gz";
-    sha256 = "12h4c61g376bhq03y5g2xszkrkrj5hwd928rly3xsp6rvfmnbixs";
+    sha256 = "08w6yywzirsxq8bh87jycvvw922ybhc2l426j2iqzliyn1h8mm8w";
   };
 
-  configurePhase = ''
-    substituteInPlace Makefile \
-    --replace /usr $out
-    '';
-
   nativeBuildInputs = [ perl gettext ];
+  makeFlags = [ "prefix=${placeholder "out"}" ];
 
   meta = with stdenv.lib; {
-    homepage = http://waterlan.home.xs4all.nl/dos2unix.html;
-    description = "Tools to transform text files from dos to unix formats and vicervesa";
+    description = "Convert text files with DOS or Mac line breaks to Unix line breaks and vice versa";
+    homepage = "https://waterlan.home.xs4all.nl/dos2unix.html";
+    changelog = "https://sourceforge.net/p/dos2unix/dos2unix/ci/dos2unix-${version}/tree/dos2unix/NEWS.txt?format=raw";
     license = licenses.bsd2;
-    maintainers = with maintainers; [ndowens ];
-
+    maintainers = with maintainers; [ c0bw3b ndowens ];
   };
 }