pantheon.elementary-calculator: 1.7.2 -> 2.0.0

This commit is contained in:
Bobby Rong 2022-05-11 09:02:24 +08:00
parent c777cdf5c5
commit 02632f304e
No known key found for this signature in database
GPG key ID: ED07364437C91161

View file

@ -2,49 +2,41 @@
, stdenv
, fetchFromGitHub
, nix-update-script
, pkg-config
, meson
, ninja
, vala
, desktop-file-utils
, libxml2
, gtk3
, pkg-config
, python3
, granite
, vala
, wrapGAppsHook4
, granite7
, gtk4
, libgee
, libhandy
, appstream
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-calculator";
version = "1.7.2";
version = "2.0.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "calculator";
rev = version;
sha256 = "sha256-U0wXrw9ZJwkqZAtTTHmTzqYhwF9V2JZEZZdDak3kPIc=";
sha256 = "sha256-NE7x5vSfwakwJJe2VGRFiYc7GCB1M6xU5945EC6Em34=";
};
nativeBuildInputs = [
appstream
desktop-file-utils
libxml2
meson
ninja
pkg-config
python3
vala
wrapGAppsHook
wrapGAppsHook4
];
buildInputs = [
granite
gtk3
granite7
gtk4
libgee
libhandy
];
postPatch = ''