calc: 2.14.1.0 -> 2.14.1.2

Also fixed GitHub source url.
This commit is contained in:
R. RyanTM 2022-12-02 02:02:05 -08:00 committed by GitHub
parent c9baf04dfa
commit 132e60b840
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,14 +3,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "calc"; pname = "calc";
version = "2.14.1.0"; version = "2.14.1.2";
src = fetchurl { src = fetchurl {
urls = [ urls = [
"https://github.com/lcn2/calc/releases/download/${version}/${pname}-${version}.tar.bz2" "https://github.com/lcn2/calc/releases/download/v${version}/${pname}-${version}.tar.bz2"
"http://www.isthe.com/chongo/src/calc/${pname}-${version}.tar.bz2" "http://www.isthe.com/chongo/src/calc/${pname}-${version}.tar.bz2"
]; ];
sha256 = "sha256-C1YWZS4x7htUWF3MhRLQIYChL4rdwJxASdPQjttUr0A="; sha256 = "sha256-3o8jKmEYxNQtExOkjqTVU24mtSok+T/RnRw6goNzThM=";
}; };
postPatch = '' postPatch = ''