nixpkgs-suyu/pkgs/applications/networking/p2p/ncdc/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

22 lines
701 B
Nix

{ stdenv, fetchurl, ncurses, zlib, bzip2, sqlite, pkgconfig, glib, gnutls }:
stdenv.mkDerivation rec {
pname = "ncdc";
version = "1.22.1";
src = fetchurl {
url = "https://dev.yorhel.nl/download/ncdc-${version}.tar.gz";
sha256 = "1bdgqd07f026qk6vpbxqsin536znd33931m3b4z44prlm9wd6pyi";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses zlib bzip2 sqlite glib gnutls ];
meta = with stdenv.lib; {
description = "Modern and lightweight direct connect client with a friendly ncurses interface";
homepage = https://dev.yorhel.nl/ncdc;
license = licenses.mit;
platforms = platforms.linux; # arbitrary
maintainers = with maintainers; [ ehmry ];
};
}