about summary refs log tree commit diff
path: root/pkgs/by-name/jo/job-security/package.nix
blob: 4962b83aa79c43326d1750501b5f0415658775a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
}:

rustPlatform.buildRustPackage rec {
  pname = "job-security";
  version = "unstable-0-2024-03-24";

  src = fetchFromGitHub {
    owner = "yshui";
    repo = "job-security";
    rev = "3881a4a0e66afe19cbdba3f43d0f85732796f977";
    hash = "sha256-mXmDzBsHdiim0bWrs0SvgtMZmKnYVz/RV9LNqPHHlnk=";
  };

  cargoHash = "sha256-W5evL36ByUUjvSwa3Nmf4MT2oZYoQ8kmchNOxUwmpuE=";

  meta = {
    description = "Job control from anywhere";
    homepage = "https://github.com/yshui/job-security";
    license = with lib.licenses; [ asl20 mit mpl20 ];
    maintainers = with lib.maintainers; [ fgaz ];
    mainProgram = "jobs";
    broken = stdenv.isDarwin;
  };
}