Merge pull request #269795 from bobby285271/upd/vala-lint

vala-lint: unstable-2023-05-25 -> unstable-2023-11-12
This commit is contained in:
Bobby Rong
2023-11-25 16:35:41 +08:00
committed by GitHub
+11 -3
View File
@@ -2,6 +2,7 @@
, stdenv
, fetchFromGitHub
, glib
, json-glib
, meson
, ninja
, pantheon
@@ -14,13 +15,13 @@
stdenv.mkDerivation rec {
pname = "vala-lint";
version = "unstable-2023-05-25";
version = "unstable-2023-11-12";
src = fetchFromGitHub {
owner = "vala-lang";
repo = "vala-lint";
rev = "4d21b8a2be8b77052176d06d0cf10a8b319117c4";
sha256 = "sha256-OnBeiYm83XjAezHEBEA2LvJ5ErVOyKclXJcS0cYaLIg=";
rev = "95cf9e61a73fe4a0f69fd8c275c9548703f79838";
sha256 = "sha256-w5jW/JM1sR9gIIVl3WJNK9jpaA4CMr56Wt4AuxUlkW8=";
};
nativeBuildInputs = [
@@ -34,8 +35,15 @@ stdenv.mkDerivation rec {
buildInputs = [
glib
json-glib
];
postPatch = ''
# https://github.com/vala-lang/vala-lint/issues/181
substituteInPlace test/meson.build \
--replace "test('auto-fix', auto_fix_test, env: test_envars)" ""
'';
doCheck = true;
passthru = {