2021-04-15 23:44:38 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2019-10-11 23:52:04 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
, glib
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pantheon
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-10-11 23:52:04 +01:00
|
|
|
, vala
|
|
|
|
, gettext
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vala-lint-unstable";
|
2021-04-15 23:44:38 +01:00
|
|
|
version = "2021-02-17";
|
2019-10-11 23:52:04 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vala-lang";
|
|
|
|
repo = "vala-lint";
|
2021-04-15 23:44:38 +01:00
|
|
|
rev = "5b06cc2341ae7e9f7f8c35c542ef78c36e864c30";
|
|
|
|
sha256 = "KwJ5sCp9ZrrxIqc6qi2+ZdHBt1esNOO1+uDkS+d9mW8=";
|
2019-10-11 23:52:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-10-11 23:52:04 +01:00
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
];
|
|
|
|
|
2021-04-15 23:44:38 +01:00
|
|
|
doCheck = true;
|
2019-10-11 23:52:04 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/vala-lang/vala-lint";
|
2019-10-11 23:52:04 +01:00
|
|
|
description = "Check Vala code files for code-style errors";
|
|
|
|
longDescription = ''
|
|
|
|
Small command line tool and library for checking Vala code files for code-style errors.
|
|
|
|
Based on the elementary Code-Style guidelines.
|
|
|
|
'';
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-09-18 16:00:51 +01:00
|
|
|
maintainers = teams.pantheon.members;
|
2019-10-11 23:52:04 +01:00
|
|
|
};
|
|
|
|
}
|