mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
darklua: init at 0.9.0
This commit is contained in:
parent
9ae541a3c2
commit
0305e8da5b
31
pkgs/development/tools/darklua/default.nix
Normal file
31
pkgs/development/tools/darklua/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "darklua";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "seaofvoices";
|
||||
repo = "darklua";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ABzhtAbWv2oM4VqxRUWC+xh2fwUw1s2iU1IWb5EEhiE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-36YN/7aI69xsnwGz8oQG5RZu8XjQ9vwQtRNMWQ7pT0Q=";
|
||||
|
||||
# error: linker `aarch64-linux-gnu-gcc` not found
|
||||
postPatch = ''
|
||||
rm .cargo/config.toml
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A command line tool that transforms Lua code";
|
||||
homepage = "https://darklua.com";
|
||||
changelog = "https://github.com/seaofvoices/darklua/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ tomodachi94 ];
|
||||
};
|
||||
}
|
@ -2607,6 +2607,8 @@ with pkgs;
|
||||
|
||||
ctx = callPackage ../applications/terminal-emulators/ctx { };
|
||||
|
||||
darklua = callPackage ../development/tools/darklua { };
|
||||
|
||||
darktile = callPackage ../applications/terminal-emulators/darktile { };
|
||||
|
||||
dterm = callPackage ../applications/terminal-emulators/dterm { };
|
||||
|
Loading…
Reference in New Issue
Block a user