Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3bbd074
commit 6f9d007
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters