nixpkgs/pkgs/by-name/gr/grun/package.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

43 lines
779 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, gtk2
, pkg-config
, autoreconfHook
}:
stdenv.mkDerivation {
pname = "grun";
version = "0.9.3";
src = fetchFromGitHub {
owner = "lrgc";
repo = "grun";
rev = "release_0_9_3";
hash = "sha256-VbvX0wrgMIPmPnu3aQdtQ6H0X3umi8aJ42QvmmeMrJ0=";
};
buildInputs = [
gtk2
];
nativeBuildInputs = [
pkg-config
autoreconfHook
];
makeFlags = [
"PREFIX=${placeholder "out"}"
];
meta = {
description = "An application launcher written in C and using GTK for the interface";
mainProgram = "grun";
homepage = "https://github.com/lrgc/grun";
platforms = lib.platforms.linux;
license = with lib.licenses; [ gpl2Only ];
maintainers = with lib.maintainers; [ _3JlOy-PYCCKUi ];
};
}