chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ru / rustmission / package.nix
blob241a0b71dc63f4317f0ec3f8fad8fa7fd03087c0
1 { lib
2 , fetchFromGitHub
3 , rustPlatform
4 , pkg-config
5 , openssl
6 , stdenv
7 , darwin
8 }:
10 rustPlatform.buildRustPackage rec {
11   pname = "rustmission";
12   version = "0.5.0";
14   src = fetchFromGitHub {
15     owner = "intuis";
16     repo = "rustmission";
17     rev = "v${version}";
18     hash = "sha256-V9sy3rkoI3mKpeZjXT4D3Bs4NVETJ8h43iwOoDx1MKU=";
19   };
21   cargoHash = "sha256-KYg+SVAvlQn77kI1gyzXlzhKgPECYPZKICnmkcEnuh8=";
23   nativeBuildInputs = [ pkg-config ];
25   buildInputs = [ openssl ]
26     ++ lib.optionals stdenv.hostPlatform.isDarwin [
27     darwin.apple_sdk.frameworks.CoreFoundation
28     darwin.apple_sdk.frameworks.Security
29     darwin.apple_sdk.frameworks.SystemConfiguration
30   ];
32   # There is no tests
33   doCheck = false;
35   meta = {
36     description = "A TUI for the Transmission daemon";
37     homepage = "https://github.com/intuis/rustmission";
38     changelog = "https://github.com/intuis/rustmission/releases/tag/v${version}";
39     license = lib.licenses.gpl3Only;
40     mainProgram = "rustmission";
41     maintainers = with lib.maintainers; [ anas ];
42     platforms = with lib.platforms; unix ++ windows;
43   };