nixpkgs/pkgs/development/libraries/libchewing/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
579 B
Nix

{ stdenv, fetchurl, sqlite }:
stdenv.mkDerivation rec{
pname = "libchewing";
version = "0.5.1";
src = fetchurl {
url = "https://github.com/chewing/libchewing/releases/download/v${version}/libchewing-${version}.tar.bz2";
sha256 = "0aqp2vqgxczydpn7pxi7r6xf3l1hgl710f0gbi1k8q7s2lscc24p";
};
buildInputs = [ sqlite ];
meta = with stdenv.lib; {
description = "Intelligent Chinese phonetic input method";
homepage = http://chewing.im/;
license = licenses.lgpl21;
maintainers = [ maintainers.ericsagnes ];
platforms = platforms.linux;
};
}