mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
libkkc-data: build using python3
This commit is contained in:
parent
1ea8bf15cb
commit
34465f99ee
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, python2, libkkc }:
|
||||
{ lib, stdenv, fetchurl, fetchpatch, python3, libkkc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libkkc-data";
|
||||
|
@ -9,7 +9,16 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "16avb50jasq2f1n9xyziky39dhlnlad0991pisk3s11hl1aqfrwy";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ python2.pkgs.marisa ];
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "build-python3.patch";
|
||||
url = "https://github.com/ueno/libkkc/commit/ba1c1bd3eb86d887fc3689c3142732658071b5f7.patch";
|
||||
relative = "data/templates/libkkc-data";
|
||||
hash = "sha256-q4zUclJtDQ1E5v2PW00zRZz6GXllLUcp2h3tugufrRU=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ python3.pkgs.marisa ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue