NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.1k stars 13.4k forks source link

Package request: add filmulator #110684

Open siraben opened 3 years ago

siraben commented 3 years ago

Project description Simplified raw editing with the power of film.

Metadata

WIP incomplete derivation

commit 5a0ea1aff036070aa1154b9b1469de12b154fffd
Author: Ben Siraphob <bensiraphob@gmail.com>
Date:   Sun Jan 24 15:50:19 2021 +0700

    filmulator: init at 0.11.0

diff --git a/pkgs/applications/graphics/filmulator/default.nix b/pkgs/applications/graphics/filmulator/default.nix
new file mode 100644
index 00000000000..0bfa10b21f0
--- /dev/null
+++ b/pkgs/applications/graphics/filmulator/default.nix
@@ -0,0 +1,28 @@
+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, qtbase, libtiff, libjpeg,
+  qtquickcontrols, libraw, curl, libarchive, librtprocess }:
+
+stdenv.mkDerivation rec {
+  pname = "filmulator";
+  version = "0.11.0";
+
+  src = fetchFromGitHub {
+    owner = "CarVac";
+    repo = "filmulator-gui";
+    rev = "v${version}";
+    sha256 = "0gdw4mxawh8lh4yvq521h3skjc46fpb0wvycy4sl2cm560d26sy6";
+  };
+
+  sourceRoot = "source/filmulator-gui";
+
+  nativeBuildInputs = [ cmake pkg-config ];
+  buildInputs = [ libtiff curl libarchive qtbase qtquickcontrols librtprocess ];
+
+  meta = with lib; {
+    description = "Simplified raw editing with the power of film";
+    homepage = "https://filmulator.org";
+
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ ];
+    platforms = platforms.unix;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 80f893ac8ec..0a78f5739bf 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -22027,6 +22027,8 @@ in

   filezilla = callPackage ../applications/networking/ftp/filezilla { };

+  filmulator = libsForQt515.callPackage ../applications/graphics/filmulator { };
+
   firefoxPackages = recurseIntoAttrs (callPackage ../applications/networking/browsers/firefox/packages.nix {
     callPackage = pkgs.newScope {
       inherit (rustPackages) cargo rustc;
stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info