rio: 0.0.36 -> 0.0.37
[NixPkgs.git] / pkgs / tools / networking / transmission-rss / default.nix
blob19df133e40284111a4ef0a613b0d4c4ad864343a
1 { lib, rustPlatform, fetchFromGitHub, pkg-config, openssl }:
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   cargoSha256 = "sha256-QNMdqoxxY8ao2O44hJxZNgLrPwzu9+ieweTPc7pfFY4=";
18   nativeBuildInputs = [pkg-config];
19   buildInputs = [openssl];
21   OPENSSL_NO_VENDOR = 1;
23   meta = with lib; {
24     description = "Add torrents to transmission based on RSS list";
25     homepage = "https://github.com/herlon214/transmission-rss";
26     maintainers = with maintainers; [ icewind1991 ];
27     license = licenses.mit;
28     mainProgram = "transmission-rss";
29   };