depot/third_party/nixpkgs/pkgs/tools/text/pomsky/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

26 lines
809 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "pomsky";
version = "0.9";
src = fetchFromGitHub {
owner = "rulex-rs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-SR+cXCPcEejX3AauN3mS6zWU46m4nomMs1UVk+si1NY=";
};
cargoSha256 = "sha256-5ASB2zPL+0DAPWoB/Ez+DUbEjhDvVk00yyN75w6jzYk=";
# thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: invalid option '--test-threads''
doCheck = false;
meta = with lib; {
description = "A portable, modern regular expression language";
homepage = "https://pomsky-lang.org";
changelog = "https://github.com/rulex-rs/pomsky/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ figsoda ];
};
}