btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / du / dum / package.nix
blob201c81f3fd6cad01fd2493de8ee5e3f917611e19
1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
4   pname = "dum";
5   version = "0.1.19";
7   src = fetchFromGitHub {
8     owner = "egoist";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "0rnm59zhpaa8nbbh6rh53svnlb484q1k6s4wc4w9516b18xhmkca";
12   };
14   cargoHash = "sha256-aMx4xfWYiiz5TY/CVCogZ3WNR6md77jb8RKhhVwqeto=";
16   meta = with lib; {
17     description = "Npm scripts runner written in Rust";
18     mainProgram = "dum";
19     homepage = "https://github.com/egoist/dum";
20     changelog = "https://github.com/egoist/dum/blob/v${version}/CHANGELOG.md";
21     license = licenses.mit;
22     maintainers = with maintainers; [ figsoda ];
23   };