summaryrefslogtreecommitdiffstats
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2021-12-14 09:34:55 +0800
committerBobby Rong <rjl931189261@126.com>2021-12-14 11:15:44 +0800
commit80747a50f12553e8b988e9965c71feea0515bad7 (patch)
tree6da51965ce4c9bf6bdf72ff5b197dd18474bbfac /pkgs/desktops
parent2eafe1f468653428824174379a38b3c4410c1ef7 (diff)
pantheon.elementary-calculator: 1.7.1 -> 1.7.2
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/pantheon/apps/elementary-calculator/default.nix20
1 files changed, 9 insertions, 11 deletions
diff --git a/pkgs/desktops/pantheon/apps/elementary-calculator/default.nix b/pkgs/desktops/pantheon/apps/elementary-calculator/default.nix
index 2878d750db8b..115622e81435 100644
--- a/pkgs/desktops/pantheon/apps/elementary-calculator/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-calculator/default.nix
@@ -21,21 +21,13 @@
stdenv.mkDerivation rec {
pname = "elementary-calculator";
- version = "1.7.1";
-
- repoName = "calculator";
+ version = "1.7.2";
src = fetchFromGitHub {
owner = "elementary";
- repo = repoName;
+ repo = "calculator";
rev = version;
- sha256 = "sha256-GoQFWhEhUBVLYL1vsIIBMT8pKc0dK/ploiGfUtJAJQU=";
- };
-
- passthru = {
- updateScript = nix-update-script {
- attrPath = "pantheon.${pname}";
- };
+ sha256 = "sha256-U0wXrw9ZJwkqZAtTTHmTzqYhwF9V2JZEZZdDak3kPIc=";
};
nativeBuildInputs = [
@@ -63,6 +55,12 @@ stdenv.mkDerivation rec {
patchShebangs meson/post_install.py
'';
+ passthru = {
+ updateScript = nix-update-script {
+ attrPath = "pantheon.${pname}";
+ };
+ };
+
meta = with lib; {
homepage = "https://github.com/elementary/calculator";
description = "Calculator app designed for elementary OS";