python.pkgs.pycangjie: use buildPythonPackage
mainly so that is has `pythonModule`
This commit is contained in:
parent
07787af65d
commit
bfa787ab47
@ -1,21 +1,22 @@
|
|||||||
{ stdenv, fetchurl, bash, autoconf, automake, libtool, pkgconfig, libcangjie
|
{ stdenv, fetchurl, bash, autoconf, automake, libtool, pkgconfig, libcangjie
|
||||||
, sqlite, python, cython
|
, sqlite, buildPythonPackage, cython
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
name = "${python.libPrefix}-pycangjie-${version}";
|
|
||||||
version = "1.3_rev_${rev}";
|
|
||||||
rev = "361bb413203fd43bab624d98edf6f7d20ce6bfd3";
|
rev = "361bb413203fd43bab624d98edf6f7d20ce6bfd3";
|
||||||
|
in buildPythonPackage rec {
|
||||||
|
pname = "pycangjie";
|
||||||
|
version = "1.3_rev_${rev}";
|
||||||
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
name = "${name}.tar.gz";
|
|
||||||
url = "https://github.com/Cangjians/pycangjie/archive/${rev}.tar.gz";
|
url = "https://github.com/Cangjians/pycangjie/archive/${rev}.tar.gz";
|
||||||
sha256 = "12yi09nyffmn4va7lzk4irw349qzlbxgsnb89dh15cnw0xmrin05";
|
sha256 = "12yi09nyffmn4va7lzk4irw349qzlbxgsnb89dh15cnw0xmrin05";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
autoconf automake libtool libcangjie sqlite python cython
|
autoconf automake libtool libcangjie sqlite cython
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user