bandwhich: 0.23.0 -> 0.23.1; move to by-name; nixfmt; useFetchCargoVendor (#356934)
[NixPkgs.git] / pkgs / by-name / ca / caligula / package.nix
blob65aef91be6774f5da110304ca60c9b5bebaea5ac
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "caligula";
9   version = "0.4.7";
11   src = fetchFromGitHub {
12     owner = "ifd3f";
13     repo = "caligula";
14     rev = "v${version}";
15     hash = "sha256-fi4W7Z32S30kzKNVEDbV8PRyTW9fZxumBGtLn8SkI5Y=";
16   };
18   cargoHash = "sha256-ma7JVbWSiKfkCXCDwA8DFm2+KPrWR+8nSdgGSqehNg8=";
20   nativeBuildInputs = [
21     rustPlatform.bindgenHook
22   ];
24   RUSTFLAGS = "--cfg tracing_unstable";
26   meta = with lib; {
27     description = "User-friendly, lightweight TUI for disk imaging";
28     homepage = "https://github.com/ifd3f/caligula/";
29     license = licenses.gpl3Only;
30     maintainers = with maintainers; [
31       ifd3f
32       sodiboo
33     ];
34     platforms = platforms.linux ++ platforms.darwin;
35     mainProgram = "caligula";
36   };