ptags: init at 0.3.2

This commit is contained in:
Pamplemousse 2020-04-13 02:17:59 +02:00 committed by Jon
parent 05bcfa1820
commit bf7332d0f3
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ fetchFromGitHub
, cargo
, lib
, rustPlatform
, stdenv
}:
rustPlatform.buildRustPackage rec {
pname = "ptags";
version = "0.3.2";
src = fetchFromGitHub {
owner = "dalance";
repo = "ptags";
rev = "v${version}";
sha256 = "1xr1szh4dfrcmi6s6dj791k1ix2zbv75rqkqbyb1lmh5548kywkg";
};
cargoSha256 = "1rsnb4kzfb577xw7jk0939n42sv94vvspvbz783bmpy9vl53i38k";
# Sanity check.
checkPhase = ''
$releaseDir/ptags --help > /dev/null
'';
meta = with stdenv.lib; {
description = "A parallel universal-ctags wrapper for git repository";
homepage = "https://github.com/dalance/ptags";
maintainers = with maintainers; [ pamplemousse ];
license = licenses.mit;
};
}

View file

@ -185,6 +185,8 @@ in
protoc-gen-doc = callPackage ../development/tools/protoc-gen-doc {};
ptags = callPackage ../development/tools/misc/ptags { };
demoit = callPackage ../servers/demoit { };
deviceTree = callPackage ../os-specific/linux/device-tree {};