From 8f316ff3981269c6ee51eb36422b095eac079e4d Mon Sep 17 00:00:00 2001 From: Sam Parkinson Date: Wed, 14 Feb 2018 07:31:03 +1100 Subject: [PATCH] plotinus: init at 0.2.0 --- pkgs/tools/misc/plotinus/default.nix | 44 ++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 46 insertions(+) create mode 100644 pkgs/tools/misc/plotinus/default.nix diff --git a/pkgs/tools/misc/plotinus/default.nix b/pkgs/tools/misc/plotinus/default.nix new file mode 100644 index 000000000000..41913f966534 --- /dev/null +++ b/pkgs/tools/misc/plotinus/default.nix @@ -0,0 +1,44 @@ +{ 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6adae36be2c8..4d322bc7672e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4190,6 +4190,8 @@ with pkgs; libpng = libpng12; }; + plotinus = callPackage ../tools/misc/plotinus { }; + plotutils = callPackage ../tools/graphics/plotutils { }; plowshare = callPackage ../tools/misc/plowshare { };