summary refs log tree commit diff
path: root/pkgs/tools/misc/coreshot/default.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-07-28 18:01:16 +0000
committerGitHub <noreply@github.com>2021-07-28 18:01:16 +0000
commit6fcda9f1ec27db14412a2103281b4b14f806066a (patch)
tree10d6f3aa9b4fc34ca27e907a5a7d199e6fca15b2 /pkgs/tools/misc/coreshot/default.nix
parenta1d3be1d4226b7312ce6a8aa8e96a0cdbbf74243 (diff)
parent4ecfa58c97863796f407b823049bcf1bd1866aac (diff)
downloadnixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar
nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar.gz
nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar.bz2
nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar.lz
nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar.xz
nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar.zst
nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.zip
Merge master into staging-next
Diffstat (limited to 'pkgs/tools/misc/coreshot/default.nix')
-rw-r--r--pkgs/tools/misc/coreshot/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/misc/coreshot/default.nix b/pkgs/tools/misc/coreshot/default.nix
new file mode 100644
index 00000000000..bb2404b1ed5
--- /dev/null
+++ b/pkgs/tools/misc/coreshot/default.nix
@@ -0,0 +1,32 @@
+{ mkDerivation, lib, fetchFromGitLab, qtbase, qtx11extras, libcprime, cmake, ninja }:
+
+mkDerivation rec {
+  pname = "coreshot";
+  version = "4.2.0";
+
+  src = fetchFromGitLab {
+    owner = "cubocore/coreapps";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-HKgGeuM3CKGXwnFwSw6a0AB0klZKY5YS9C4q2UT6TN8=";
+  };
+
+  nativeBuildInputs = [
+    cmake
+    ninja
+  ];
+
+  buildInputs = [
+    qtbase
+    qtx11extras
+    libcprime
+  ];
+
+  meta = with lib; {
+    description = "A screen capture utility from the C Suite";
+    homepage = "https://gitlab.com/cubocore/coreapps/coreshot";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ dan4ik605743 ];
+    platforms = platforms.linux;
+  };
+}