nixpkgs/pkgs/desktops/mate/mate-calc/default.nix
2019-05-10 23:45:02 -03:00

31 lines
740 B
Nix

{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtk3, libxml2, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "mate-calc-${version}";
version = "1.22.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0zin3w03zrkpb12rvay23bfk9fnjpybkr5mqzkpn9xfnqamhk8ld";
};
nativeBuildInputs = [
pkgconfig
intltool
itstool
wrapGAppsHook
];
buildInputs = [
gtk3
libxml2
];
meta = with stdenv.lib; {
description = "Calculator for the MATE desktop";
homepage = https://mate-desktop.org;
license = [ licenses.gpl2Plus ];
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}