
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build a08b3a4d19
.tar.gz \
--argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7
result/bin/apply-formatting $NIXPKGS_PATH
52 lines
1.3 KiB
Nix
52 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
cairo,
|
|
expat,
|
|
guile,
|
|
guile-lib,
|
|
pkg-config,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "guile-cairo";
|
|
version = "1.11.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz";
|
|
hash = "sha256-YjLU3Cxb2dMxE5s7AfQ0PD4fucp4mDYaaZIGcwlBoHs=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
buildInputs = [
|
|
cairo
|
|
expat
|
|
guile
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
doCheck = false; # Cannot find unit-test module from guile-lib
|
|
nativeCheckInputs = [ guile-lib ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.nongnu.org/guile-cairo/";
|
|
description = "Cairo bindings for GNU Guile";
|
|
longDescription = ''
|
|
Guile-Cairo wraps the Cairo graphics library for Guile Scheme.
|
|
|
|
Guile-Cairo is complete, wrapping almost all of the Cairo API. It is API
|
|
stable, providing a firm base on which to do graphics work. Finally, and
|
|
importantly, it is pleasant to use. You get a powerful and well
|
|
maintained graphics library with all of the benefits of Scheme: memory
|
|
management, exceptions, macros, and a dynamic programming environment.
|
|
'';
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ vyp ];
|
|
platforms = guile.meta.platforms;
|
|
};
|
|
}
|