mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
lux-cli: 0.5.3 -> 0.6.0
This commit is contained in:
parent
e95499fcfe
commit
a5a21518f5
2 changed files with 13 additions and 14 deletions
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
fetchFromGitHub,
|
||||
gnupg,
|
||||
gpgme,
|
||||
installShellFiles,
|
||||
lib,
|
||||
libgit2,
|
||||
libgpg-error,
|
||||
luaPackages,
|
||||
luajit,
|
||||
makeWrapper,
|
||||
nix,
|
||||
|
@ -17,13 +17,18 @@
|
|||
rustPlatform.buildRustPackage rec {
|
||||
pname = "lux-cli";
|
||||
|
||||
version = "0.5.3";
|
||||
version = "0.6.0";
|
||||
|
||||
src = luaPackages.lux-lua.src;
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvim-neorocks";
|
||||
repo = "lux";
|
||||
tag = "v0.6.0";
|
||||
hash = "sha256-bGG/W0ESiBAorcZrc34JrIF7pPAKatqOCeE8/jM9t7g=";
|
||||
};
|
||||
|
||||
buildAndTestSubdir = "lux-cli";
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = luaPackages.lux-lua.cargoHash;
|
||||
cargoHash = "sha256-UXiEicwQ/GnKAel3PlgpoZBfHNURmRi+Urjszlwz8mU=";
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
fetchFromGitHub,
|
||||
gnupg,
|
||||
gpgme,
|
||||
isLuaJIT,
|
||||
|
@ -7,6 +6,7 @@
|
|||
libgit2,
|
||||
libgpg-error,
|
||||
lua,
|
||||
lux-cli,
|
||||
nix,
|
||||
openssl,
|
||||
pkg-config,
|
||||
|
@ -20,22 +20,16 @@ in
|
|||
rustPlatform.buildRustPackage rec {
|
||||
pname = "lux-lua";
|
||||
|
||||
version = "0.1.6";
|
||||
version = lux-cli.version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvim-neorocks";
|
||||
repo = "lux";
|
||||
# NOTE: Lux's tags represent the lux-cli version, which may differ from the lux-lua version
|
||||
tag = "v0.5.3";
|
||||
hash = "sha256-iiXPLm05HsenB6I8aLiFjRMkziQ0khlSWvvskvVwuDA=";
|
||||
};
|
||||
src = lux-cli.src;
|
||||
|
||||
buildAndTestSubdir = "lux-lua";
|
||||
buildNoDefaultFeatures = true;
|
||||
buildFeatures = [ luaFeature ];
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-S3dcjFDVwvdUFpRjHhJRPjEluRxWi+XSxN5mj1WP26A=";
|
||||
cargoHash = lux-cli.cargoHash;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue