nixpkgs-suyu/pkgs/development/libraries/idnkit/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
522 B
Nix

{ stdenv, fetchurl, libiconv }:
stdenv.mkDerivation rec {
pname = "idnkit";
version = "2.3";
src = fetchurl {
url = "https://jprs.co.jp/idn/${pname}-${version}.tar.bz2";
sha256 = "0zp9yc84ff5s0g2i6v9yfyza2n2x4xh0kq7hjd3anhh0clbp3l16";
};
buildInputs = [ libiconv ];
meta = with stdenv.lib; {
homepage = https://www.nic.ad.jp/ja/idn/idnkit;
description = "Provides functionalities about i18n domain name processing";
license = "idnkit-2 license";
platforms = platforms.linux;
};
}