Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 54e4b13887a9
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bffcb980e3a4
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 8, 2019

  1. 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
    r-ryantm authored and c0bw3b committed Oct 8, 2019
    Copy the full SHA
    bffcb98 View commit details
Showing with 7 additions and 11 deletions.
  1. +7 −11 pkgs/tools/text/dos2unix/default.nix
18 changes: 7 additions & 11 deletions pkgs/tools/text/dos2unix/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}