~ruther/nixos-config

ref: 65631fe7158253199eb7d1ad180d17e4d9d57704 nixos-config/pkgs/rutherther/sequence-detector.nix -rw-r--r-- 688 bytes
65631fe7 — Frantisek Bohacek feat: add support for Guix 7 months ago
                                                                                
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
29
30
31
32
33
34
35
36
37
38
{ lib
, pkgs
, rustPlatform
, pkg-config
, rustfmt
, cargo
, rustc
}:

rustPlatform.buildRustPackage rec {
  src = pkgs.fetchFromGitHub {
    owner = "Rutherther";
    repo = "sequence-detector";
    rev = "c447c0d83877907c3ade8a2e9b4f659d4ef92904";
    hash = "sha256-Bo+IE3aBEHFsnKPrcSVe9x1QNmB8BgsavVmh7UBP4Rg=";
  };

  cargoHash = "sha256-JWg99wgauaoo6Jbt+MARWuHrjgnfTDGWBla56l97o+A=";

  name = "sequence_detector";
  version = "0.1.0";

  nativeBuildInputs = [
    rustfmt
    pkg-config
    cargo
    rustc
  ];

  checkInputs = [ cargo rustc ];
  doCheck = true;

  meta = {
    license = [ lib.licenses.mit ];
    mainProgram = "sequence_detector";
    maintainers = [];
  };
}
Do not follow this link