2022-12-28 21:21:41 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "pomsky";
|
2023-03-24 00:07:29 +00:00
|
|
|
version = "0.10";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2023-03-24 00:07:29 +00:00
|
|
|
owner = "pomsky-lang";
|
2022-12-28 21:21:41 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-03-24 00:07:29 +00:00
|
|
|
hash = "sha256-V4WztquClcBQF74c8WalWITT+SRymEawLXmvTflNEGk=";
|
2022-12-28 21:21:41 +00:00
|
|
|
};
|
|
|
|
|
2023-03-24 00:07:29 +00:00
|
|
|
cargoHash = "sha256-34lI4zI1JMYek3sCXOWw08EqhaI1bqTGFPxeEYmEbXQ=";
|
2023-01-20 10:41:00 +00:00
|
|
|
|
|
|
|
# thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: invalid option '--test-threads''
|
|
|
|
doCheck = false;
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A portable, modern regular expression language";
|
|
|
|
homepage = "https://pomsky-lang.org";
|
2023-03-24 00:07:29 +00:00
|
|
|
changelog = "https://github.com/pomsky-lang/pomsky/blob/v${version}/CHANGELOG.md";
|
2022-12-28 21:21:41 +00:00
|
|
|
license = with licenses; [ mit /* or */ asl20 ];
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|