libipuz: 0.4.5 -> 0.5.2
Requires upgrading libipuz 0.4.5 → 0.5.2. Also: - fix libipuz license - enable auto-update - add myself as maintainer Co-authored-by: Victor Engmark <victor@engmark.name>
This commit is contained in:
parent
104581ff2b
commit
f7e486a6ca
@ -1,31 +1,50 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
|
cargo,
|
||||||
fetchFromGitLab,
|
fetchFromGitLab,
|
||||||
|
gi-docgen,
|
||||||
|
glib,
|
||||||
|
gobject-introspection,
|
||||||
|
json-glib,
|
||||||
meson,
|
meson,
|
||||||
ninja,
|
ninja,
|
||||||
|
nix-update-script,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
glib,
|
rustPlatform,
|
||||||
json-glib,
|
|
||||||
}:
|
}:
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "libipuz";
|
pname = "libipuz";
|
||||||
version = "0.4.5";
|
version = "0.5.2";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
owner = "jrb";
|
owner = "jrb";
|
||||||
repo = "libipuz";
|
repo = "libipuz";
|
||||||
rev = version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-psC2cFqSTlToCtCxwosXyJbmX/96AEI0xqzXtlc/HQE=";
|
hash = "sha256-8bFMtqRD90SF9uT39Wkjf0eUef+0HgyrqY+DFA/xutI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoRoot = "libipuz/rust";
|
||||||
|
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||||
|
inherit (finalAttrs)
|
||||||
|
pname
|
||||||
|
src
|
||||||
|
version
|
||||||
|
cargoRoot
|
||||||
|
;
|
||||||
|
hash = "sha256-Aw/caE5Z5JxoKLEr2Dr2wq6cyFleNNwtKM1yXM8ZWmU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
cargo
|
||||||
|
gi-docgen
|
||||||
|
glib
|
||||||
|
gobject-introspection
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
glib
|
rustPlatform.cargoSetupHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -33,12 +52,20 @@ stdenv.mkDerivation rec {
|
|||||||
json-glib
|
json-glib
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Library for parsing .ipuz puzzle files";
|
description = "Library for parsing .ipuz puzzle files";
|
||||||
homepage = "https://gitlab.gnome.org/jrb/libipuz";
|
homepage = "https://gitlab.gnome.org/jrb/libipuz";
|
||||||
changelog = "https://gitlab.gnome.org/jrb/libipuz/-/blob/${version}/NEWS.md?ref_type=tags";
|
changelog = "https://gitlab.gnome.org/jrb/libipuz/-/blob/${finalAttrs.version}/NEWS.md?ref_type=tags";
|
||||||
license = lib.licenses.lgpl21Plus;
|
license = with lib.licenses; [
|
||||||
maintainers = with lib.maintainers; [ aleksana ];
|
lgpl21Plus
|
||||||
|
mit
|
||||||
|
];
|
||||||
|
maintainers = with lib.maintainers; [
|
||||||
|
aleksana
|
||||||
|
l0b0
|
||||||
|
];
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user