figsoda 2023-11-18 19:59:01 -05:00
parent 9f1e5c1baf
commit 0a54b6f7e0
2 changed files with 311 additions and 711 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,23 +1,36 @@
{ lib, rustPlatform, fetchFromGitHub }: { lib, rustPlatform, fetchFromGitHub, pkg-config, oniguruma }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "pomsky"; pname = "pomsky";
version = "0.10"; version = "0.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pomsky-lang"; owner = "pomsky-lang";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-V4WztquClcBQF74c8WalWITT+SRymEawLXmvTflNEGk="; hash = "sha256-BoA59P0jzV08hlFO7NPB9E+fdpYB9G50dNggFkexc/c=";
}; };
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {
"criterion-0.3.6" = "sha256-biFm0+AjKLwV9yHgCaK6E6L6W+6sRbnY2QOKVhv/1C8="; "onig_sys-69.8.1" = "sha256-NJv/Dooh93yQ9KYyuNBhO1c4U7Gd7X007ECXyRsztrY=";
}; };
}; };
nativeBuildInputs = [
pkg-config
rustPlatform.bindgenHook
];
buildInputs = [
oniguruma
];
env = {
RUSTONIG_SYSTEM_LIBONIG = true;
};
# thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: invalid option '--test-threads'' # thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: invalid option '--test-threads''
doCheck = false; doCheck = false;