Merge pull request #212826 from wegank/diswall-bump

diswall: 0.2.0 -> 0.3.0
This commit is contained in:
Weijia Wang 2023-01-26 21:47:20 +01:00 committed by GitHub
commit 01f4f1383b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,24 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, darwin }:
let
inherit (darwin.apple_sdk.frameworks) Security;
in
rustPlatform.buildRustPackage rec {
pname = "diswall";
version = "0.2.0";
version = "0.3.0";
src = fetchFromGitHub {
owner = "dis-works";
repo = "diswall-rs";
rev = "v${version}";
sha256 = "sha256-zT8RRg+Ver7dYtJL9htrZ8nXoD0V7IvdIqHTKDmbZ7c=";
sha256 = "sha256-3FTqT3IL48lYmGoB9u76RQSgZPbaq7IkOyQjyxwpkWA=";
};
cargoSha256 = "sha256-N+w1OiCy3scahFdYI49GpL301t1qNd/X4fdLMoQE/2s=";
buildInputs = lib.optionals stdenv.isDarwin [
Security
];
cargoSha256 = "sha256-sb6s4Oc3W+I9DB0SGyZINxyWHCSpkakiEeQUatEpeEU=";
doCheck = false;