depot/third_party/nixpkgs/pkgs/development/tools/vala-lint/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

51 lines
990 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, glib
, meson
, ninja
, pantheon
, pkg-config
, vala
, gettext
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "vala-lint-unstable";
version = "2021-02-17";
src = fetchFromGitHub {
owner = "vala-lang";
repo = "vala-lint";
rev = "5b06cc2341ae7e9f7f8c35c542ef78c36e864c30";
sha256 = "KwJ5sCp9ZrrxIqc6qi2+ZdHBt1esNOO1+uDkS+d9mW8=";
};
nativeBuildInputs = [
gettext
meson
ninja
pkg-config
vala
wrapGAppsHook
];
buildInputs = [
glib
];
doCheck = true;
meta = with lib; {
homepage = "https://github.com/vala-lang/vala-lint";
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;
maintainers = pantheon.maintainers;
};
}