From a108f524437248014c46047689464444a51e2722 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Mon, 5 Aug 2024 21:05:10 +0300 Subject: [PATCH] cloneit: 0.1.0 -> 0-unstable-2024-06-28; modernize derivationa --- pkgs/cloneit/package.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/cloneit/package.nix b/pkgs/cloneit/package.nix index 6f7e40d..6524a4d 100644 --- a/pkgs/cloneit/package.nix +++ b/pkgs/cloneit/package.nix @@ -6,21 +6,20 @@ openssl, ... }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage { pname = "cloneit"; - version = "0.1.0"; + version = "0-unstable-2024-06-28"; src = fetchFromGitHub { owner = "alok8bb"; repo = "cloneit"; - rev = version; - sha256 = "CyR/vdg6xqlxmv8jOXka3JIBhi8zafHiBOL67XLf5KM="; + rev = "6198556e810d964cc5938c446ef42fc21b55fe0b"; + sha256 = "sha256-RP0/kquAlSwRMeB6cjvS5JB9qfdkT8IKLVxaxrmzJ+0="; }; - cargoSha256 = "zhsFIU7gmP4gR5NhrFslFSvYIXH1fxJLZU8nV67PluQ="; + cargoHash = "sha256-XXcqmDPEQUm4YBqY5+06X55ym3o3RqE7fNSiR4n+iyc="; nativeBuildInputs = [pkg-config]; - buildInputs = [openssl]; meta = { @@ -28,5 +27,6 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/alok8bb/cloneit"; license = lib.licenses.mit; maintainers = with lib.maintainers; [NotAShelf]; + platforms = lib.platforms.linux; }; }