f643a1c2a4
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mate-calc/versions. These checks were done: - built on NixOS - Warning: no invocation of /nix/store/zar9jk5047zkynk663v4143ap5q9ppzm-mate-calc-1.20.2/bin/mate-calc had a zero exit code or showed the expected version - /nix/store/zar9jk5047zkynk663v4143ap5q9ppzm-mate-calc-1.20.2/bin/mate-calc-cmd passed the binary check. - Warning: no invocation of /nix/store/zar9jk5047zkynk663v4143ap5q9ppzm-mate-calc-1.20.2/bin/.mate-calculator-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/zar9jk5047zkynk663v4143ap5q9ppzm-mate-calc-1.20.2/bin/mate-calculator had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/zar9jk5047zkynk663v4143ap5q9ppzm-mate-calc-1.20.2/bin/.mate-calc-wrapped had a zero exit code or showed the expected version - /nix/store/zar9jk5047zkynk663v4143ap5q9ppzm-mate-calc-1.20.2/bin/.mate-calc-cmd-wrapped passed the binary check. - 2 of 6 passed binary check by having a zero exit code. - 0 of 6 passed binary check by having the new version present in output. - found 1.20.2 with grep in /nix/store/zar9jk5047zkynk663v4143ap5q9ppzm-mate-calc-1.20.2 - directory tree listing: https://gist.github.com/3fe2665fbee32995f75e3c7a458a0ee9 - du listing: https://gist.github.com/1cedd9a494738bf479198ffe45dee0a7
31 lines
730 B
Nix
31 lines
730 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtk3, libxml2, mate, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mate-calc-${version}";
|
|
version = "1.20.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
|
sha256 = "1ghz03j9lfgrjrh8givsw83dpbkw4wlhq4ar3r5g1bf1z636jlx0";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
intltool
|
|
itstool
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
libxml2
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Calculator for the MATE desktop";
|
|
homepage = http://mate-desktop.org;
|
|
license = [ licenses.gpl2Plus ];
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.romildo ];
|
|
};
|
|
}
|