nixpkgs-suyu/pkgs/tools/text/icdiff/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

20 lines
539 B
Nix

{ stdenv, fetchFromGitHub, pythonPackages }:
pythonPackages.buildPythonApplication rec {
pname = "icdiff";
version = "1.9.4";
src = fetchFromGitHub {
owner = "jeffkaufman";
repo = "icdiff";
rev = "release-${version}";
sha256 = "1micpm7kq9swfscmp4mg37fnzgzpsg7704yi33c5sd6cmgbdabxm";
};
meta = with stdenv.lib; {
homepage = https://www.jefftk.com/icdiff;
description = "Side-by-side highlighted command line diffs";
maintainers = with maintainers; [ aneeshusa ];
license = licenses.psfl;
};
}