libreddit: 0.10.1 -> 0.14.9

launchpad/nixpkgs/master
Alexandre Iooss 3 years ago
parent d6dac81240
commit 5af063cf32
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
  1. 1466
      pkgs/servers/libreddit/add-Cargo.lock.patch
  2. 12
      pkgs/servers/libreddit/default.nix

File diff suppressed because it is too large Load Diff

@ -8,25 +8,19 @@
rustPlatform.buildRustPackage rec {
pname = "libreddit";
version = "0.10.1";
version = "0.14.9";
src = fetchFromGitHub {
owner = "spikecodes";
repo = pname;
rev = "v${version}";
sha256 = "0f5xla6fgq4l9g95gwwvfxksaxj4zpayrsjacf53akjpxaqvqxdj";
sha256 = "1z3qhlf0i4s3jqh0dml75912sikdvv2hxclai4my6wryk78v6099";
};
cargoSha256 = "039k6kncdgy6q2lbcssj5dm9npk0yss5m081ps4nmdj2vjrkphf0";
cargoSha256 = "0qdxhj9i3rhhnyla2glb2b45c51kyam8qg0038banwz9nw86jdjf";
buildInputs = lib.optional stdenv.isDarwin Security;
cargoPatches = [
# Patch file to add/update Cargo.lock in the source code
# https://github.com/spikecodes/libreddit/issues/191
./add-Cargo.lock.patch
];
passthru.tests = {
inherit (nixosTests) libreddit;
};

Loading…
Cancel
Save