nixpkgs/pkgs/development/libraries/ganv/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

28 lines
798 B
Nix

{ lib, stdenv, fetchgit, graphviz, gtk2, gtkmm2, pkg-config, python3, wafHook }:
stdenv.mkDerivation rec {
pname = "ganv";
version = "unstable-2019-12-30";
src = fetchgit {
url = "https://gitlab.com/drobilla/${pname}.git";
fetchSubmodules = true;
rev = "90bd022f8909f92cc5290fdcfc76c626749e1186";
sha256 = "01znnalirbqxpz62fbw2c14c8xn117jc92xv6dhb3hln92k9x37f";
};
nativeBuildInputs = [ pkg-config wafHook python3 gtk2 ];
buildInputs = [ graphviz gtkmm2 ];
strictDeps = true;
meta = with lib; {
description = "An interactive Gtk canvas widget for graph-based interfaces";
mainProgram = "ganv_bench";
homepage = "http://drobilla.net";
license = licenses.gpl3;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
};
}