pythonPackages.pycangjie: switch to fetchFromGitHub
This commit is contained in:
parent
aa57bfb3ea
commit
aac43ad47d
@ -1,19 +1,32 @@
|
||||
{ lib, fetchurl, bash, autoconf, automake, libtool, pkg-config, libcangjie
|
||||
, sqlite, buildPythonPackage, cython
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, bash
|
||||
, autoconf
|
||||
, automake
|
||||
, libtool
|
||||
, pkg-config
|
||||
, libcangjie
|
||||
, sqlite
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
}:
|
||||
|
||||
let
|
||||
rev = "361bb413203fd43bab624d98edf6f7d20ce6bfd3";
|
||||
in buildPythonPackage {
|
||||
in
|
||||
buildPythonPackage {
|
||||
pname = "pycangjie";
|
||||
version = "1.3_rev_${rev}";
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Cangjians/pycangjie/archive/${rev}.tar.gz";
|
||||
sha256 = "12yi09nyffmn4va7lzk4irw349qzlbxgsnb89dh15cnw0xmrin05";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Cangjians";
|
||||
repo = "pycangjie";
|
||||
inherit rev;
|
||||
sha256 = "sha256-sS0Demzm89WtEIN4Efz0OTsUQ/c3gIX+/koekQGOca4=";
|
||||
};
|
||||
|
||||
|
||||
nativeBuildInputs = [ pkg-config libtool autoconf automake cython ];
|
||||
buildInputs = [ libcangjie sqlite ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user