nixpkgs/pkgs/tools/misc/melody/default.nix
2023-01-15 14:14:19 +10:00

21 lines
564 B
Nix

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