mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
libgourou: 0.8.2 -> 0.8.7 (#411429)
This commit is contained in:
commit
9a3bb2cdca
2 changed files with 24 additions and 20 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchzip,
|
fetchFromGitea,
|
||||||
pugixml,
|
pugixml,
|
||||||
updfparser,
|
updfparser,
|
||||||
curl,
|
curl,
|
||||||
|
@ -10,14 +10,16 @@
|
||||||
installShellFiles,
|
installShellFiles,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "libgourou";
|
pname = "libgourou";
|
||||||
version = "0.8.2";
|
version = "0.8.7";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchFromGitea {
|
||||||
url = "https://indefero.soutade.fr/p/libgourou/source/download/v${version}/";
|
domain = "forge.soutade.fr";
|
||||||
sha256 = "sha256-adkrvBCgN07Ir+J3JFCy+X9p9609lj1w8nElrlHXTxc";
|
owner = "soutade";
|
||||||
extension = "zip";
|
repo = "libgourou";
|
||||||
|
tag = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-Tkft/pe3lH07pmyVibTEutIIvconUWDH1ZVN3qV4sSY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -47,7 +49,7 @@ stdenv.mkDerivation rec {
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
install -Dt $out/include include/libgourou*.h
|
install -Dt $out/include include/libgourou*.h
|
||||||
install -Dt $out/lib libgourou.so
|
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/lib libgourou.a
|
||||||
install -Dt $out/bin utils/acsmdownloader
|
install -Dt $out/bin utils/acsmdownloader
|
||||||
install -Dt $out/bin utils/adept_{activate,loan_mgt,remove}
|
install -Dt $out/bin utils/adept_{activate,loan_mgt,remove}
|
||||||
|
@ -57,10 +59,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Implementation of Adobe's ADEPT protocol for ePub/PDF DRM";
|
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;
|
license = licenses.lgpl3Plus;
|
||||||
maintainers = with maintainers; [ autumnal ];
|
maintainers = with maintainers; [ autumnal ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
broken = stdenv.hostPlatform.isDarwin;
|
broken = stdenv.hostPlatform.isDarwin;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
|
@ -1,18 +1,20 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchzip,
|
fetchFromGitea,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
name = "updfparser";
|
name = "updfparser";
|
||||||
version = "unstable-2023-08-08";
|
version = "0-unstable-2024-03-24";
|
||||||
rev = "c5ce75b9eea8ebb2746b13eeb0f335813c615115";
|
rev = "6060d123441a06df699eb275ae5ffdd50409b8f3";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchFromGitea {
|
||||||
url = "https://indefero.soutade.fr/p/updfparser/source/download/${rev}/";
|
inherit (finalAttrs) rev;
|
||||||
hash = "sha256-RT7mvu43Izp0rHhKq4wR4kt0TDfzHvB2NGMR+fxO5UM=";
|
domain = "forge.soutade.fr";
|
||||||
extension = "zip";
|
owner = "soutade";
|
||||||
|
repo = "updfparser";
|
||||||
|
hash = "sha256-HD73WGZ4e/3T7vQmwU/lRADtvsInFG62uqvJmF773Rk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
|
@ -30,9 +32,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Very simple PDF parser";
|
description = "Very simple PDF parser";
|
||||||
homepage = "https://indefero.soutade.fr/p/updfparser";
|
homepage = "https://forge.soutade.fr/soutade/updfparser";
|
||||||
license = licenses.lgpl3Plus;
|
license = licenses.lgpl3Plus;
|
||||||
maintainers = with maintainers; [ autumnal ];
|
maintainers = with maintainers; [ autumnal ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue