nixpkgs/pkgs/tools/misc/melody/default.nix

22 lines
562 B
Nix
Raw Normal View History

2022-02-20 00:27:54 +00:00
{ lib, stdenv, fetchCrate, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "melody";
2022-07-29 13:14:29 +00:00
version = "0.18.1";
2022-02-20 00:27:54 +00:00
src = fetchCrate {
pname = "melody_cli";
inherit version;
2022-07-29 13:14:29 +00:00
sha256 = "sha256-Az1pGRty7wAC5fN7RlO/etaW5w5TrsO6VVXv5M7NUfU=";
2022-02-20 00:27:54 +00:00
};
2022-07-29 13:14:29 +00:00
cargoSha256 = "sha256-EhPrARdDnwdxfK1JHuuHVrxSDZhuE+kTBQr45JxluUA=";
2022-02-20 00:27:54 +00:00
meta = with lib; {
description = "Language that compiles to regular expressions";
homepage = "https://github.com/yoav-lavi/melody";
license = licenses.mit;
maintainers = with maintainers; [ jyooru ];
};
}