figsoda 2023-01-10 20:52:13 -05:00
parent 32eceb420a
commit 478ce8c1e3

View file

@ -3,6 +3,8 @@
, fetchFromGitHub , fetchFromGitHub
, installShellFiles , installShellFiles
, makeWrapper , makeWrapper
, stdenv
, darwin
, gitMinimal , gitMinimal
, mercurial , mercurial
, nix , nix
@ -10,22 +12,26 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "nurl"; pname = "nurl";
version = "0.3.3"; version = "0.3.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nix-community"; owner = "nix-community";
repo = "nurl"; repo = "nurl";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-bZJlhGbRjhrLk8J0WJq3NCY71MZYsxy8f1ippguOsIM="; hash = "sha256-cPbvYrMeARNi9b97EPUUzYN5j0YjenOCDdrdRVLBviw=";
}; };
cargoSha256 = "sha256-904IOaovvSOuMyXIxZjaG2iqUoz5qq3hftLGaiA8h0U="; cargoSha256 = "sha256-CBZe3UdTucgWrCzbXCSWjBjCNWCFUHmCpRwCXUX2sA8=";
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles
makeWrapper makeWrapper
]; ];
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
# tests require internet access # tests require internet access
doCheck = false; doCheck = false;