summary refs log tree commit diff
diff options
context:
space:
mode:
authorSam Parkinson <sam@sam.today>2018-02-14 07:31:03 +1100
committerJan Tojnar <jtojnar@gmail.com>2018-02-14 22:25:11 +0100
commit8f316ff3981269c6ee51eb36422b095eac079e4d (patch)
tree5fb90351adb9a8644b713e702e8fac222eeff4d6
parent177cfe33702b35e028e883e2c2c438acfe3f2844 (diff)
downloadnixpkgs-8f316ff3981269c6ee51eb36422b095eac079e4d.tar
nixpkgs-8f316ff3981269c6ee51eb36422b095eac079e4d.tar.gz
nixpkgs-8f316ff3981269c6ee51eb36422b095eac079e4d.tar.bz2
nixpkgs-8f316ff3981269c6ee51eb36422b095eac079e4d.tar.lz
nixpkgs-8f316ff3981269c6ee51eb36422b095eac079e4d.tar.xz
nixpkgs-8f316ff3981269c6ee51eb36422b095eac079e4d.tar.zst
nixpkgs-8f316ff3981269c6ee51eb36422b095eac079e4d.zip
plotinus: init at 0.2.0
-rw-r--r--pkgs/tools/misc/plotinus/default.nix44
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/tools/misc/plotinus/default.nix b/pkgs/tools/misc/plotinus/default.nix
new file mode 100644
index 00000000000..41913f96653
--- /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 6adae36be2c..4d322bc7672 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 { };