From f55376e8753e36ce1bb629273743fdfa349c0972 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 7 Nov 2021 04:20:00 +0000 Subject: [PATCH] tiny: 0.9.0 -> 0.10.0 https://github.com/osa1/tiny/releases/tag/v0.10.0 --- pkgs/applications/networking/irc/tiny/default.nix | 13 ++++--------- .../networking/irc/tiny/fix-Cargo.lock.patch | 13 ------------- 2 files changed, 4 insertions(+), 22 deletions(-) delete mode 100644 pkgs/applications/networking/irc/tiny/fix-Cargo.lock.patch diff --git a/pkgs/applications/networking/irc/tiny/default.nix b/pkgs/applications/networking/irc/tiny/default.nix index 253143d00047..fde521c53d58 100644 --- a/pkgs/applications/networking/irc/tiny/default.nix +++ b/pkgs/applications/networking/irc/tiny/default.nix @@ -10,21 +10,16 @@ rustPlatform.buildRustPackage rec { pname = "tiny"; - version = "0.9.0"; + version = "0.10.0"; src = fetchFromGitHub { owner = "osa1"; repo = pname; rev = "v${version}"; - sha256 = "gKyHR3FZHDybaP38rqB8/gvr8T+mDO4QQxoTtWS+TlE="; + sha256 = "177d1x4z0mh0p7c5ldq70cn1j3pac50d8cil2ni50hl49c3x6yy1"; }; - cargoSha256 = "0ChfW8vaqC2kCp4lpS0HOvhuihPw9G5TOmgwKzVDfws="; - - # Fix Cargo.lock version. Remove with the next release. - cargoPatches = [ - ./fix-Cargo.lock.patch - ]; + cargoSha256 = "05q3f1wp48mwkz8n0102rwb6jzrgpx3dlbxzf3zcw8r1mblgzim1"; cargoBuildFlags = lib.optionals stdenv.isLinux [ "--features=desktop-notifications" ]; @@ -34,7 +29,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A console IRC client"; homepage = "https://github.com/osa1/tiny"; - changelog = "https://github.com/osa1/tiny/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/osa1/tiny/raw/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ Br1ght0ne vyp ]; }; diff --git a/pkgs/applications/networking/irc/tiny/fix-Cargo.lock.patch b/pkgs/applications/networking/irc/tiny/fix-Cargo.lock.patch deleted file mode 100644 index 71bc4709bece..000000000000 --- a/pkgs/applications/networking/irc/tiny/fix-Cargo.lock.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Cargo.lock b/Cargo.lock -index 3a184dc..0e58cb1 100644 ---- a/Cargo.lock -+++ b/Cargo.lock -@@ -1023,7 +1023,7 @@ dependencies = [ - - [[package]] - name = "tiny" --version = "0.8.0" -+version = "0.9.0" - dependencies = [ - "clap", - "dirs 3.0.1",