159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
42 lines
830 B
Nix
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;
|
|
};
|
|
})
|