ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / tr / transmission-rss / package.nix
blob859b8acb5b10d32fa82554f11ad25d9f8dc6c6f2
1 { stdenv, lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, darwin }:
3 rustPlatform.buildRustPackage rec {
4   version = "0.3.1";
5   pname = "transmission-rss";
7   src = fetchFromGitHub {
8     owner = "herlon214";
9     repo = pname;
10     rev = "5bbad7a81621a194b7a8b11a56051308a7ccbf06";
11     sha256 = "sha256-SkEgxinqPA9feOIF68oewVyRKv3SY6fWWZLGJeH+r4M=";
12   };
14   cargoPatches = [ ./update-cargo-lock-version.patch ];
16   cargoHash = "sha256-QNMdqoxxY8ao2O44hJxZNgLrPwzu9+ieweTPc7pfFY4=";
18   nativeBuildInputs = [pkg-config];
19   buildInputs = [openssl]
20     ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
21       Security
22       SystemConfiguration
23     ]);
25   OPENSSL_NO_VENDOR = 1;
27   meta = with lib; {
28     description = "Add torrents to transmission based on RSS list";
29     homepage = "https://github.com/herlon214/transmission-rss";
30     maintainers = with maintainers; [ icewind1991 ];
31     license = licenses.mit;
32     mainProgram = "transmission-rss";
33   };