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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
562 B
Nix
Raw Normal View History

2022-02-20 01:27:54 +01:00
{ lib, stdenv, fetchCrate, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "melody";
2022-07-29 15:14:29 +02:00
version = "0.18.1";
2022-02-20 01:27:54 +01:00
src = fetchCrate {
pname = "melody_cli";
inherit version;
2022-07-29 15:14:29 +02:00
sha256 = "sha256-Az1pGRty7wAC5fN7RlO/etaW5w5TrsO6VVXv5M7NUfU=";
2022-02-20 01:27:54 +01:00
};
2022-07-29 15:14:29 +02:00
cargoSha256 = "sha256-EhPrARdDnwdxfK1JHuuHVrxSDZhuE+kTBQr45JxluUA=";
2022-02-20 01:27:54 +01: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 ];
};
}