nixpkgs-suyu/pkgs/applications/editors/vbindiff/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
514 B
Nix

{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
pname = "vbindiff";
version = "3.0_beta5";
buildInputs = [ ncurses ];
src = fetchurl {
url = "https://www.cjmweb.net/vbindiff/${pname}-${version}.tar.gz";
sha256 = "1f1kj4jki08bnrwpzi663mjfkrx4wnfpzdfwd2qgijlkx5ysjkgh";
};
meta = {
description = "A terminal visual binary diff viewer";
homepage = https://www.cjmweb.net/vbindiff/;
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
};
}