ptags: init at 0.3.2
This commit is contained in:
parent
05bcfa1820
commit
bf7332d0f3
2 changed files with 34 additions and 0 deletions
32
pkgs/development/tools/misc/ptags/default.nix
Normal file
32
pkgs/development/tools/misc/ptags/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 {};
|
||||
|
|
Loading…
Reference in a new issue