nixpkgs/pkgs/by-name/ga/ganv/package.nix
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

52 lines
920 B
Nix

{
lib,
stdenv,
fetchFromGitLab,
graphviz,
gtk2,
gtkmm2,
meson,
ninja,
cmake,
pkg-config,
}:
stdenv.mkDerivation {
pname = "ganv";
version = "1.8.2-unstable-2024-07-04";
src = fetchFromGitLab {
owner = "drobilla";
repo = "ganv";
rev = "4d2e04dbcabd0b5d715ea7eeeb909f4088055763";
hash = "sha256-DzODtYI8uwP65ck8Q90QEnjQbvPobepeQVgNZZjF+jk=";
};
nativeBuildInputs = [
pkg-config
meson
ninja
cmake
];
buildInputs = [
gtk2
gtkmm2
graphviz
];
strictDeps = true;
# libintl detection does not work even if provided
mesonAutoFeatures = "disabled";
meta = {
description = "Interactive Gtk canvas widget for graph-based interfaces";
mainProgram = "ganv_bench";
homepage = "http://drobilla.net";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ t4ccer ];
platforms = lib.platforms.linux;
};
}