Merge pull request #188519 from marsam/update-dura

dura: 0.1.0 -> 0.2.0
This commit is contained in:
Mario Rodas 2022-08-27 13:38:57 -05:00 committed by GitHub
commit 352189cf81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 7 deletions

View file

@ -0,0 +1,13 @@
diff --git i/Cargo.lock w/Cargo.lock
index e037758..e039531 100644
--- i/Cargo.lock
+++ w/Cargo.lock
@@ -106,7 +106,7 @@ dependencies = [
[[package]]
name = "dura"
-version = "0.2.0-snapshot"
+version = "0.2.0"
dependencies = [
"chrono",
"clap",

View file

@ -1,22 +1,28 @@
{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, openssl, pkg-config, Security }:
rustPlatform.buildRustPackage rec {
pname = "dura";
version = "0.1.0";
version = "0.2.0";
src = fetchFromGitHub {
owner = "tkellogg";
repo = "dura";
rev = "v0.1.0";
sha256 = "sha256-XnsR1oL9iImtj0X7wJ8Pp/An0/AVF5y+sD551yX4IGo=";
rev = "v${version}";
sha256 = "sha256-xAcFk7z26l4BYYBEw+MvbG6g33MpPUvnpGvgmcqhpGM=";
};
cargoSha256 = "sha256-+Tq0a5cs2XZoT7yzTf1oIPd3kgD6SyrQqxQ1neTcMwk=";
cargoSha256 = "sha256-XOtPtOEKZMJzNeBZBT3Mc/KOjMOcz71byIv/ftcRP48=";
cargoPatches = [
./Cargo.lock.patch
];
doCheck = false;
buildInputs = [
openssl
] ++ lib.optionals stdenv.isDarwin [
Security
];
nativeBuildInputs = [
@ -34,7 +40,6 @@ rustPlatform.buildRustPackage rec {
'';
homepage = "https://github.com/tkellogg/dura";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ drupol ];
};
}

View file

@ -16123,7 +16123,9 @@ with pkgs;
drush = callPackage ../development/tools/misc/drush { };
dura = callPackage ../development/tools/misc/dura { };
dura = callPackage ../development/tools/misc/dura {
inherit (darwin.apple_sdk.frameworks) Security;
};
dwfv = callPackage ../applications/science/electronics/dwfv { };