nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 41 lines 794 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 qt5, 6 cmake, 7 pkg-config, 8 imagemagick, 9 nix-update-script, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "cyan"; 14 version = "1.2.4"; 15 16 src = fetchFromGitHub { 17 owner = "rodlie"; 18 repo = "cyan"; 19 rev = version; 20 hash = "sha256-R5sj8AN7UT9OIeUPNrdTIUQvtEitXp1A32l/Z2qRS94="; 21 }; 22 23 nativeBuildInputs = [ 24 cmake 25 pkg-config 26 qt5.wrapQtAppsHook 27 ]; 28 29 buildInputs = [ imagemagick ]; 30 31 passthru.updateScript = nix-update-script { }; 32 33 meta = with lib; { 34 description = "Image viewer and converter, designed for prepress (print) work"; 35 homepage = "https://github.com/rodlie/cyan"; 36 mainProgram = "Cyan"; 37 license = licenses.cecill21; 38 platforms = platforms.linux; 39 maintainers = with maintainers; [ zendo ]; 40 }; 41}