forked from mirrors/nixpkgs
vimPlugins.vim-hexokinase: build bin
This commit is contained in:
parent
54804c0ea4
commit
ad55d8353a
|
@ -1,7 +1,7 @@
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, python, cmake, meson, vim, ruby
|
, python, cmake, meson, vim, ruby
|
||||||
, which, fetchFromGitHub, fetchgit, fetchurl, fetchzip, fetchpatch
|
, which, fetchFromGitHub, fetchgit, fetchurl, fetchzip, fetchpatch
|
||||||
, llvmPackages, rustPlatform
|
, llvmPackages, rustPlatform, buildGoModule
|
||||||
, pkgconfig, curl, openssl, libgit2, libiconv
|
, pkgconfig, curl, openssl, libgit2, libiconv
|
||||||
, xkb-switch, fzf, skim, stylish-haskell
|
, xkb-switch, fzf, skim, stylish-haskell
|
||||||
, python3, boost, icu, ncurses
|
, python3, boost, icu, ncurses
|
||||||
|
@ -595,6 +595,20 @@ self: super: {
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
|
vim-hexokinase = super.vim-hexokinase.overrideAttrs(old: {
|
||||||
|
preFixup = let
|
||||||
|
hexokinase = buildGoModule {
|
||||||
|
name = "hexokinase";
|
||||||
|
src = old.src + "/hexokinase";
|
||||||
|
vendorSha256 = "pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
|
||||||
|
};
|
||||||
|
in ''
|
||||||
|
ln -s ${hexokinase}/bin/hexokinase $target/hexokinase/hexokinase
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta.platforms = stdenv.lib.platforms.all;
|
||||||
|
});
|
||||||
|
|
||||||
vim-clap = super.vim-clap.overrideAttrs(old: {
|
vim-clap = super.vim-clap.overrideAttrs(old: {
|
||||||
preFixup = let
|
preFixup = let
|
||||||
maple-bin = rustPlatform.buildRustPackage {
|
maple-bin = rustPlatform.buildRustPackage {
|
||||||
|
|
Loading…
Reference in a new issue