Merge pull request #306035 from Sigmanificient/calc-2.13.0

mini-calc: 2.12.3 -> 2.13.0
This commit is contained in:
tomberek 2024-04-27 02:33:26 -04:00 committed by GitHub
commit 9acae24f93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,23 +1,16 @@
{ lib, rustPlatform, fetchpatch, fetchFromGitHub }:
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "mini-calc";
version = "2.12.3";
version = "2.13.0";
src = fetchFromGitHub {
owner = "coco33920";
repo = "calc";
rev = version;
hash = "sha256-/aTfh3d63wwk3xai2F/D1fMJiDO4mg+OeLIanV4vSuA=";
hash = "sha256-rvQXn0VuOjB7CSf+bDTGxjeMKpbJGhVmyDLNYSy/Mlw=";
};
cargoHash = "sha256-BfaOhEAKZmTYkzz6rvcSmDPufyQMJFtQO6CRksgA/2U=";
cargoPatches = [
(fetchpatch {
url = "https://github.com/coco33920/calc/commit/a010c72b5c06c75b7f644071f2861394dd5c74b8.patch";
sha256 = "sha256-ceyxfgiXHS+oOJ4apM8+cSjMICwGlQHMKjFICATmKTU=";
})
];
cargoHash = "sha256-QFzrJBnGKAgDhjbbik0WP3Y1fNoHMAiWpEHfidFQGPk=";
meta = {
description = "A fully-featured minimalistic configurable calculator written in Rust";
changelog = "https://github.com/coco33920/calc/blob/${version}/CHANGELOG.md";