1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5 nix-update-script,
6}:
7
8rustPlatform.buildRustPackage rec {
9 pname = "desed";
10 version = "1.2.2";
11
12 src = fetchFromGitHub {
13 owner = "SoptikHa2";
14 repo = "desed";
15 tag = "v${version}";
16 hash = "sha256-aKkOs8IhnHjoJkXq9ryGn9fN0AmZyVTHbD/Vano+Erw=";
17 };
18
19 cargoHash = "sha256-1vNs+viEPqmfA8AtFQaGcQwlLAbIBMHd8uMFmqm60eg=";
20
21 passthru.updateScript = nix-update-script { };
22
23 meta = {
24 changelog = "https://github.com/SoptikHa2/desed/releases/tag/v${version}";
25 description = "Debugger for Sed: demystify and debug your sed scripts, from comfort of your terminal";
26 homepage = "https://github.com/SoptikHa2/desed";
27 license = lib.licenses.gpl3Only;
28 maintainers = with lib.maintainers; [ vinylen ];
29 mainProgram = "desed";
30 };
31}