mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +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,
|
gnupg,
|
||||||
gpgme,
|
gpgme,
|
||||||
installShellFiles,
|
installShellFiles,
|
||||||
lib,
|
lib,
|
||||||
libgit2,
|
libgit2,
|
||||||
libgpg-error,
|
libgpg-error,
|
||||||
luaPackages,
|
|
||||||
luajit,
|
luajit,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
nix,
|
nix,
|
||||||
|
@ -17,13 +17,18 @@
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "lux-cli";
|
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";
|
buildAndTestSubdir = "lux-cli";
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = luaPackages.lux-lua.cargoHash;
|
cargoHash = "sha256-UXiEicwQ/GnKAel3PlgpoZBfHNURmRi+Urjszlwz8mU=";
|
||||||
|
|
||||||
nativeInstallCheckInputs = [
|
nativeInstallCheckInputs = [
|
||||||
versionCheckHook
|
versionCheckHook
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
fetchFromGitHub,
|
|
||||||
gnupg,
|
gnupg,
|
||||||
gpgme,
|
gpgme,
|
||||||
isLuaJIT,
|
isLuaJIT,
|
||||||
|
@ -7,6 +6,7 @@
|
||||||
libgit2,
|
libgit2,
|
||||||
libgpg-error,
|
libgpg-error,
|
||||||
lua,
|
lua,
|
||||||
|
lux-cli,
|
||||||
nix,
|
nix,
|
||||||
openssl,
|
openssl,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
|
@ -20,22 +20,16 @@ in
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "lux-lua";
|
pname = "lux-lua";
|
||||||
|
|
||||||
version = "0.1.6";
|
version = lux-cli.version;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = lux-cli.src;
|
||||||
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=";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildAndTestSubdir = "lux-lua";
|
buildAndTestSubdir = "lux-lua";
|
||||||
buildNoDefaultFeatures = true;
|
buildNoDefaultFeatures = true;
|
||||||
buildFeatures = [ luaFeature ];
|
buildFeatures = [ luaFeature ];
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-S3dcjFDVwvdUFpRjHhJRPjEluRxWi+XSxN5mj1WP26A=";
|
cargoHash = lux-cli.cargoHash;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue