45 lines
845 B
Nix
45 lines
845 B
Nix
|
{ stdenv
|
||
|
, fetchFromGitHub
|
||
|
, gettext
|
||
|
, libxml2
|
||
|
, pkgconfig
|
||
|
, gtk3
|
||
|
, cmake
|
||
|
, ninja
|
||
|
, vala
|
||
|
, wrapGAppsHook }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
name = "plotinus-${version}";
|
||
|
version = "0.2.0";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "p-e-w";
|
||
|
repo = "plotinus";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "19k6f6ivg4ab57m62g6fkg85q9sv049snmzq1fyqnqijggwshxfz";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
pkgconfig
|
||
|
wrapGAppsHook
|
||
|
vala
|
||
|
cmake
|
||
|
ninja
|
||
|
gettext
|
||
|
libxml2
|
||
|
];
|
||
|
buildInputs = [
|
||
|
gtk3
|
||
|
];
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "A searchable command palette in every modern GTK+ application";
|
||
|
homepage = https://github.com/p-e-w/plotinus;
|
||
|
maintainers = with maintainers; [ samdroid-apps ];
|
||
|
platforms = platforms.linux;
|
||
|
# No COPYING file, but headers in the source code
|
||
|
license = licenses.gpl3;
|
||
|
};
|
||
|
}
|