summaryrefslogtreecommitdiff
path: root/pkgs/warcPackages/warcat/default.nix
blob: 83fc448673b9ea4c635c9716deb4c6cf595c4b3d (about) (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
{
  rustPlatform,
  fetchFromGitHub,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "warcat";
  version = "0.3.4";

  src = fetchFromGitHub {
    owner = "chfoo";
    repo = "warcat-rs";
    rev = "v${finalAttrs.version}";
    hash = "sha256-3WrTUyR1j/npru/DFKLBbbqoo0brZuitO4tezqUoMBE=";
  };

  cargoHash = "sha256-Q2Y6Ybp30paob+8dAmyhw/y1AK26OdnL6hZRd/YJw80=";
  cargoDepsName = finalAttrs.pname;
  buildFeatures = [
    "bin"
  ];

})