diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2022-10-14 07:52:37 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 07:52:37 -0300 |
commit | f1709afbd358e58093a96ecd3f539f0a7cb4b41c (patch) | |
tree | 6a9080ddd839ccd690d37bdd6e975c3cdf1afd53 | |
parent | b516c4b09a917047f79b24be8665e49e9915173d (diff) | |
parent | 5cf499310fbd3d55d6946798195381337bc75ea3 (diff) |
Merge pull request #190027 from zendo/cyan
cyan: init at 1.2.4
-rw-r--r-- | pkgs/applications/graphics/cyan/default.nix | 42 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/cyan/default.nix b/pkgs/applications/graphics/cyan/default.nix new file mode 100644 index 0000000000000..2e59c6716b71b --- /dev/null +++ b/pkgs/applications/graphics/cyan/default.nix @@ -0,0 +1,42 @@ +{ lib +, stdenv +, fetchFromGitHub +, qt5 +, cmake +, pkg-config +, imagemagick +, nix-update-script +}: + +stdenv.mkDerivation rec { + pname = "cyan"; + version = "1.2.4"; + + src = fetchFromGitHub { + owner = "rodlie"; + repo = pname; + rev = version; + hash = "sha256-R5sj8AN7UT9OIeUPNrdTIUQvtEitXp1A32l/Z2qRS94="; + }; + + nativeBuildInputs = [ + cmake + pkg-config + qt5.wrapQtAppsHook + ]; + + buildInputs = [ imagemagick ]; + + passthru.updateScript = nix-update-script { + attrPath = pname; + }; + + meta = with lib; { + description = "Image viewer and converter, designed for prepress (print) work"; + homepage = "https://github.com/rodlie/cyan"; + mainProgram = "Cyan"; + license = licenses.cecill21; + platforms = platforms.linux; + maintainers = with maintainers; [ zendo ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 54cb901ba0cdd..f211abebd2fbb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27324,6 +27324,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Carbon; }; + cyan = callPackage ../applications/graphics/cyan {}; + cyanrip = callPackage ../applications/audio/cyanrip { }; centerim = callPackage ../applications/networking/instant-messengers/centerim { }; |