1{ lib, rustPlatform, fetchFromGitHub }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "dum";
5 version = "0.1.19";
6
7 src = fetchFromGitHub {
8 owner = "egoist";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "0rnm59zhpaa8nbbh6rh53svnlb484q1k6s4wc4w9516b18xhmkca";
12 };
13
14 cargoSha256 = "sha256-aMx4xfWYiiz5TY/CVCogZ3WNR6md77jb8RKhhVwqeto=";
15
16 meta = with lib; {
17 description = "An npm scripts runner written in Rust";
18 homepage = "https://github.com/egoist/dum";
19 changelog = "https://github.com/egoist/dum/blob/v${version}/CHANGELOG.md";
20 license = licenses.mit;
21 maintainers = with maintainers; [ figsoda ];
22 };
23}