29 lines
670 B
Nix
29 lines
670 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "dum";
|
|
version = "0.1.20";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "egoist";
|
|
repo = "dum";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-rkdQb4TI7lfWE4REJYsIJwMcmM/78jjgQrd0ZvKJxk8=";
|
|
};
|
|
|
|
cargoHash = "sha256-CpVci0nw/6Y6uyQX6iRV9E7uXzdZ2fzYIelYxsc+tI0=";
|
|
|
|
meta = {
|
|
description = "Npm scripts runner written in Rust";
|
|
mainProgram = "dum";
|
|
homepage = "https://github.com/egoist/dum";
|
|
changelog = "https://github.com/egoist/dum/blob/v${version}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ figsoda ];
|
|
};
|
|
}
|