libgourou: 0.8.2 -> 0.8.7 (#411429)

This commit is contained in:
Arne Keller 2025-06-02 13:50:03 +02:00 committed by GitHub
commit 9a3bb2cdca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 20 deletions

View file

@ -1,7 +1,7 @@
{
lib,
stdenv,
fetchzip,
fetchFromGitea,
pugixml,
updfparser,
curl,
@ -10,14 +10,16 @@
installShellFiles,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "libgourou";
version = "0.8.2";
version = "0.8.7";
src = fetchzip {
url = "https://indefero.soutade.fr/p/libgourou/source/download/v${version}/";
sha256 = "sha256-adkrvBCgN07Ir+J3JFCy+X9p9609lj1w8nElrlHXTxc";
extension = "zip";
src = fetchFromGitea {
domain = "forge.soutade.fr";
owner = "soutade";
repo = "libgourou";
tag = "v${finalAttrs.version}";
hash = "sha256-Tkft/pe3lH07pmyVibTEutIIvconUWDH1ZVN3qV4sSY=";
};
postPatch = ''
@ -47,7 +49,7 @@ stdenv.mkDerivation rec {
runHook preInstall
install -Dt $out/include include/libgourou*.h
install -Dt $out/lib libgourou.so
install -Dt $out/lib libgourou.so.${version}
install -Dt $out/lib libgourou.so.${finalAttrs.version}
install -Dt $out/lib libgourou.a
install -Dt $out/bin utils/acsmdownloader
install -Dt $out/bin utils/adept_{activate,loan_mgt,remove}
@ -57,10 +59,10 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Implementation of Adobe's ADEPT protocol for ePub/PDF DRM";
homepage = "https://indefero.soutade.fr/p/libgourou";
homepage = "https://forge.soutade.fr/soutade/libgourou";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ autumnal ];
platforms = platforms.all;
broken = stdenv.hostPlatform.isDarwin;
};
}
})

View file

@ -1,18 +1,20 @@
{
lib,
stdenv,
fetchzip,
fetchFromGitea,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
name = "updfparser";
version = "unstable-2023-08-08";
rev = "c5ce75b9eea8ebb2746b13eeb0f335813c615115";
version = "0-unstable-2024-03-24";
rev = "6060d123441a06df699eb275ae5ffdd50409b8f3";
src = fetchzip {
url = "https://indefero.soutade.fr/p/updfparser/source/download/${rev}/";
hash = "sha256-RT7mvu43Izp0rHhKq4wR4kt0TDfzHvB2NGMR+fxO5UM=";
extension = "zip";
src = fetchFromGitea {
inherit (finalAttrs) rev;
domain = "forge.soutade.fr";
owner = "soutade";
repo = "updfparser";
hash = "sha256-HD73WGZ4e/3T7vQmwU/lRADtvsInFG62uqvJmF773Rk=";
};
makeFlags = [
@ -30,9 +32,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Very simple PDF parser";
homepage = "https://indefero.soutade.fr/p/updfparser";
homepage = "https://forge.soutade.fr/soutade/updfparser";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ autumnal ];
platforms = platforms.all;
};
}
})