linyaps: 1.11.1 -> 1.11.2
Added versionCheckHook, because upstream didn't update the version in previous releases.
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
uncrustify,
|
||||
xz,
|
||||
yaml-cpp,
|
||||
versionCheckHook,
|
||||
bash,
|
||||
binutils,
|
||||
coreutils,
|
||||
@@ -38,13 +39,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "linyaps";
|
||||
version = "1.11.1";
|
||||
version = "1.11.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenAtom-Linyaps";
|
||||
repo = finalAttrs.pname;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-iGdZc+i1l/+raI7Pjpj3LOtxvSJ37fUth3VsKaV54u0=";
|
||||
hash = "sha256-FpmsrH4Xphf4QKtAJEaoVdE9S7hWlCayDbEnYZ9o4iI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -99,6 +100,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.cmakeBool "CPM_LOCAL_PACKAGES_ONLY" true)
|
||||
];
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
postInstall = ''
|
||||
# move to the right location for systemd.packages option
|
||||
# https://github.com/NixOS/nixpkgs/blob/85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054/nixos/modules/system/boot/systemd.nix#L605
|
||||
|
||||
Reference in New Issue
Block a user