crengine-ng: init at 0.9.12 (#401941)
This commit is contained in:
		
						commit
						6b1c028bce
					
				@ -25826,6 +25826,12 @@
 | 
			
		||||
    name = "Vinicius Bernardino";
 | 
			
		||||
    keys = [ { fingerprint = "F0D3 920C 722A 541F 0CCD  66E3 A7BA BA05 3D78 E7CA"; } ];
 | 
			
		||||
  };
 | 
			
		||||
  vnpower = {
 | 
			
		||||
    email = "vnpower@loang.net";
 | 
			
		||||
    github = "vntsuyo";
 | 
			
		||||
    githubId = 209139160;
 | 
			
		||||
    name = "VnPower";
 | 
			
		||||
  };
 | 
			
		||||
  vog = {
 | 
			
		||||
    email = "v@njh.eu";
 | 
			
		||||
    github = "vog";
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										58
									
								
								pkgs/by-name/cr/crengine-ng/package.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								pkgs/by-name/cr/crengine-ng/package.nix
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,58 @@
 | 
			
		||||
{
 | 
			
		||||
  lib,
 | 
			
		||||
  stdenv,
 | 
			
		||||
  fetchFromGitLab,
 | 
			
		||||
  cmake,
 | 
			
		||||
  pkg-config,
 | 
			
		||||
  fribidi,
 | 
			
		||||
  libunibreak,
 | 
			
		||||
  freetype,
 | 
			
		||||
  fontconfig,
 | 
			
		||||
  harfbuzz,
 | 
			
		||||
  zlib,
 | 
			
		||||
  zstd,
 | 
			
		||||
  libpng,
 | 
			
		||||
  libjpeg,
 | 
			
		||||
  utf8proc,
 | 
			
		||||
}:
 | 
			
		||||
stdenv.mkDerivation (finalAttrs: {
 | 
			
		||||
  pname = "crengine-ng";
 | 
			
		||||
  version = "0.9.12";
 | 
			
		||||
 | 
			
		||||
  src = fetchFromGitLab {
 | 
			
		||||
    owner = "coolreader-ng";
 | 
			
		||||
    repo = "crengine-ng";
 | 
			
		||||
    tag = finalAttrs.version;
 | 
			
		||||
    hash = "sha256-sNExFNnUKfl+4VCWeqK/Pt2Qy6DtYn7GYnwz5hHkjZw=";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  nativeBuildInputs = [
 | 
			
		||||
    cmake
 | 
			
		||||
    pkg-config
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  buildInputs = [
 | 
			
		||||
    fribidi
 | 
			
		||||
    libunibreak
 | 
			
		||||
    freetype
 | 
			
		||||
    fontconfig
 | 
			
		||||
    harfbuzz
 | 
			
		||||
    zlib
 | 
			
		||||
    zstd
 | 
			
		||||
    libpng
 | 
			
		||||
    libjpeg
 | 
			
		||||
    utf8proc
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  postPatch = ''
 | 
			
		||||
    substituteInPlace crengine/crengine-ng.pc.cmake \
 | 
			
		||||
      --replace-fail '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
 | 
			
		||||
  '';
 | 
			
		||||
 | 
			
		||||
  meta = {
 | 
			
		||||
    homepage = "https://gitlab.com/coolreader-ng/crengine-ng";
 | 
			
		||||
    description = "Cross-platform library designed to implement text viewers and e-book readers";
 | 
			
		||||
    license = lib.licenses.gpl2Plus;
 | 
			
		||||
    maintainers = with lib.maintainers; [ vnpower ];
 | 
			
		||||
  };
 | 
			
		||||
})
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user