xournalpp nightly
This commit is contained in:
		
							parent
							
								
									fb0c1eaa4a
								
							
						
					
					
						commit
						129850b77a
					
				
							
								
								
									
										11
									
								
								large-sw.nix
									
									
									
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										11
									
								
								large-sw.nix
									
									
									
									
									
								
							@ -13,11 +13,12 @@
 | 
			
		||||
    goldendict
 | 
			
		||||
 | 
			
		||||
    xournal
 | 
			
		||||
    (xournalpp.overrideDerivation (_: {
 | 
			
		||||
      patches = [
 | 
			
		||||
        ./xournalpp-cursor-blink.patch
 | 
			
		||||
      ];
 | 
			
		||||
    }))
 | 
			
		||||
    (callPackage ./xournalpp.nix {})
 | 
			
		||||
    # (xournalpp.overrideDerivation (_: {
 | 
			
		||||
    #   patches = [
 | 
			
		||||
    #     ./xournalpp-cursor-blink.patch
 | 
			
		||||
    #   ];
 | 
			
		||||
    # }))
 | 
			
		||||
 | 
			
		||||
    vscode
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										63
									
								
								xournalpp.nix
									
									
									
									
									
										Normal file
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										63
									
								
								xournalpp.nix
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,63 @@
 | 
			
		||||
{ lib, stdenv
 | 
			
		||||
, fetchFromGitHub
 | 
			
		||||
 | 
			
		||||
, cmake
 | 
			
		||||
, ninja
 | 
			
		||||
, gettext
 | 
			
		||||
, wrapGAppsHook
 | 
			
		||||
, pkg-config
 | 
			
		||||
 | 
			
		||||
, glib
 | 
			
		||||
, gsettings-desktop-schemas
 | 
			
		||||
, gtk3
 | 
			
		||||
, libsndfile
 | 
			
		||||
, libxml2
 | 
			
		||||
, libzip
 | 
			
		||||
, pcre
 | 
			
		||||
, poppler
 | 
			
		||||
, portaudio
 | 
			
		||||
, zlib
 | 
			
		||||
, librsvg
 | 
			
		||||
# plugins
 | 
			
		||||
, withLua ? true, lua
 | 
			
		||||
}:
 | 
			
		||||
 | 
			
		||||
stdenv.mkDerivation rec {
 | 
			
		||||
  pname = "xournalpp";
 | 
			
		||||
  version = "2021-07-10";
 | 
			
		||||
 | 
			
		||||
  src = fetchFromGitHub {
 | 
			
		||||
    owner = "xournalpp";
 | 
			
		||||
    repo = pname;
 | 
			
		||||
    rev = "1a60605e7ccfe1d46162355825dd19f27d931db4";
 | 
			
		||||
    sha256 = "sha256-l+V/MsqMYmsozUVIuHmYL60QVoH8ADXUR/SJOjh9LTQ=";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  nativeBuildInputs = [ cmake ninja gettext pkg-config wrapGAppsHook ];
 | 
			
		||||
  buildInputs =
 | 
			
		||||
    [ glib
 | 
			
		||||
      gsettings-desktop-schemas
 | 
			
		||||
      gtk3
 | 
			
		||||
      libsndfile
 | 
			
		||||
      libxml2
 | 
			
		||||
      libzip
 | 
			
		||||
      pcre
 | 
			
		||||
      poppler
 | 
			
		||||
      portaudio
 | 
			
		||||
      zlib
 | 
			
		||||
      librsvg
 | 
			
		||||
    ]
 | 
			
		||||
    ++ lib.optional withLua lua;
 | 
			
		||||
 | 
			
		||||
  buildFlags = "translations";
 | 
			
		||||
 | 
			
		||||
  hardeningDisable = [ "format" ];
 | 
			
		||||
 | 
			
		||||
  meta = with lib; {
 | 
			
		||||
    description = "Xournal++ is a handwriting Notetaking software with PDF annotation support";
 | 
			
		||||
    homepage    = "https://xournalpp.github.io/";
 | 
			
		||||
    license     = licenses.gpl2Plus;
 | 
			
		||||
    maintainers = with maintainers; [ andrew-d sikmir ];
 | 
			
		||||
    platforms   = platforms.linux;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user