nixpkgs-suyu/pkgs/development/libraries/cdk/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

25 lines
575 B
Nix

{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
pname = "cdk";
version ="5.0-20190224";
buildInputs = [
ncurses
];
src = fetchurl {
urls = [
"ftp://ftp.invisible-island.net/cdk/cdk-${version}.tgz"
"https://invisible-mirror.net/archives/cdk/cdk-${version}.tgz"
];
sha256 = "0767xqwm377ak909c589vqm0v83slsnkm2ycq7bg545xx5nycncs";
};
meta = with stdenv.lib; {
description = "Curses development kit";
license = licenses.bsdOriginal ;
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
};
}