depot/third_party/nixpkgs/pkgs/by-name/gi/giza/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

42 lines
830 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
gfortran,
cairo,
freetype,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "giza";
version = "1.4.1";
src = fetchFromGitHub {
owner = "danieljprice";
repo = "giza";
rev = "v${finalAttrs.version}";
hash = "sha256-spb46IoySf6DM454adcWmqqLlzNA2HK9z29TzOCECJ4=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
gfortran
];
buildInputs = [
cairo
freetype
];
meta = {
description = "Scientific plotting library for C/Fortran";
inherit (finalAttrs.src.meta) homepage;
changelog = "${finalAttrs.src.meta.homepage}/blob/${finalAttrs.src.rev}/ChangeLog";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ doronbehar ];
platforms = lib.platforms.all;
};
})