diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-10-11 18:52:04 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-10-31 21:15:53 -0400 |
commit | 7a4ea26f2e313674af7730f7a01a7426c626d637 (patch) | |
tree | f6507153e78c428f1eec6e5c9f4b0615d291bf39 /pkgs/development/tools/vala-lint | |
parent | 03b61c02db8091f376eefea837bb60572920aab8 (diff) | |
download | nixpkgs-7a4ea26f2e313674af7730f7a01a7426c626d637.tar nixpkgs-7a4ea26f2e313674af7730f7a01a7426c626d637.tar.gz nixpkgs-7a4ea26f2e313674af7730f7a01a7426c626d637.tar.bz2 nixpkgs-7a4ea26f2e313674af7730f7a01a7426c626d637.tar.lz nixpkgs-7a4ea26f2e313674af7730f7a01a7426c626d637.tar.xz nixpkgs-7a4ea26f2e313674af7730f7a01a7426c626d637.tar.zst nixpkgs-7a4ea26f2e313674af7730f7a01a7426c626d637.zip |
vala-lint: init at 2019-10-11
Diffstat (limited to 'pkgs/development/tools/vala-lint')
-rw-r--r-- | pkgs/development/tools/vala-lint/default.nix | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/pkgs/development/tools/vala-lint/default.nix b/pkgs/development/tools/vala-lint/default.nix new file mode 100644 index 00000000000..92fb6ebcc68 --- /dev/null +++ b/pkgs/development/tools/vala-lint/default.nix @@ -0,0 +1,51 @@ +{ stdenv +, fetchFromGitHub +, glib +, meson +, ninja +, pantheon +, pkgconfig +, vala +, gettext +, wrapGAppsHook +}: + +stdenv.mkDerivation rec { + pname = "vala-lint-unstable"; + version = "2019-10-11"; + + src = fetchFromGitHub { + owner = "vala-lang"; + repo = "vala-lint"; + rev = "a077bbec30dea128616a23583ce3f8364ff2ef11"; + sha256 = "0w0rmaj4v42wc4vq2lfjnj6airag5ahv6522xkw3j1nmccxq3s72"; + }; + + nativeBuildInputs = [ + gettext + meson + ninja + pkgconfig + vala + wrapGAppsHook + ]; + + buildInputs = [ + glib + ]; + + # See https://github.com/vala-lang/vala-lint/issues/133 + doCheck = false; + + meta = with stdenv.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; + }; +} |