sss_code: init at 0.2.0 (#302495)

This commit is contained in:
Arne Keller
2024-12-23 08:25:23 +01:00
committed by GitHub
2 changed files with 57 additions and 0 deletions
+6
View File
@@ -12272,6 +12272,12 @@
githubId = 5759930;
name = "Alexis Destrez";
};
krovuxdev = {
name = "krovuxdev";
email = "krovuxdev@proton.me";
github = "krovuxdev";
githubId = 62192487;
};
krupkat = {
github = "krupkat";
githubId = 6817216;
+51
View File
@@ -0,0 +1,51 @@
{
rustPlatform,
fetchFromGitHub,
pkg-config,
fontconfig,
libiconv,
stdenv,
libxcb,
lib,
}:
rustPlatform.buildRustPackage rec {
pname = "sss_code";
version = "0.2.0";
src = fetchFromGitHub {
owner = "SergioRibera";
repo = "sss";
rev = "sss_code/v${version}";
hash = "sha256-AmJFAwHfG4R2iRz9zNeZsVFLptVy499ozQ7jgwnevOo=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-qeDZgrGPSz+wXolZeVb2FFHjLzl1+vjzMN/3NCgaf/s=";
cargoBuildFlags = [
"-p"
"sss_code"
];
nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.buildPlatform.isDarwin [ libiconv ];
buildInputs = [
fontconfig
libxcb
];
doCheck = false;
meta = with lib; {
description = "Libraries and tools for building screenshots in a high-performance image format";
mainProgram = "sss_code";
homepage = "https://github.com/SergioRibera/sss";
license = with licenses; [
asl20
mit
];
maintainers = with maintainers; [ krovuxdev ];
};
}