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,
|
||||
stdenv,
|
||||
cargo,
|
||||
fetchFromGitLab,
|
||||
gi-docgen,
|
||||
glib,
|
||||
gobject-introspection,
|
||||
json-glib,
|
||||
meson,
|
||||
ninja,
|
||||
nix-update-script,
|
||||
pkg-config,
|
||||
glib,
|
||||
json-glib,
|
||||
rustPlatform,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libipuz";
|
||||
version = "0.4.5";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
owner = "jrb";
|
||||
repo = "libipuz";
|
||||
rev = version;
|
||||
hash = "sha256-psC2cFqSTlToCtCxwosXyJbmX/96AEI0xqzXtlc/HQE=";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-8bFMtqRD90SF9uT39Wkjf0eUef+0HgyrqY+DFA/xutI=";
|
||||
};
|
||||
|
||||
cargoRoot = "libipuz/rust";
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit (finalAttrs)
|
||||
pname
|
||||
src
|
||||
version
|
||||
cargoRoot
|
||||
;
|
||||
hash = "sha256-Aw/caE5Z5JxoKLEr2Dr2wq6cyFleNNwtKM1yXM8ZWmU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cargo
|
||||
gi-docgen
|
||||
glib
|
||||
gobject-introspection
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
glib
|
||||
rustPlatform.cargoSetupHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@ -33,12 +52,20 @@ stdenv.mkDerivation rec {
|
||||
json-glib
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Library for parsing .ipuz puzzle files";
|
||||
homepage = "https://gitlab.gnome.org/jrb/libipuz";
|
||||
changelog = "https://gitlab.gnome.org/jrb/libipuz/-/blob/${version}/NEWS.md?ref_type=tags";
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = with lib.maintainers; [ aleksana ];
|
||||
changelog = "https://gitlab.gnome.org/jrb/libipuz/-/blob/${finalAttrs.version}/NEWS.md?ref_type=tags";
|
||||
license = with lib.licenses; [
|
||||
lgpl21Plus
|
||||
mit
|
||||
];
|
||||
maintainers = with lib.maintainers; [
|
||||
aleksana
|
||||
l0b0
|
||||
];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user