nixpkgs/pkgs/tools/misc/tagref/default.nix

23 lines
629 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform }:
2020-12-03 14:42:57 +00:00
rustPlatform.buildRustPackage rec {
pname = "tagref";
2021-08-02 15:22:02 +00:00
version = "1.5.0";
2020-12-03 14:42:57 +00:00
src = fetchFromGitHub {
owner = "stepchowfun";
repo = pname;
rev = "v${version}";
2021-08-02 15:22:02 +00:00
sha256 = "sha256-PZ5ymYXn19PnvimofODh6su9zHdVoa3T7RCWPSO1Z6w=";
2020-12-03 14:42:57 +00:00
};
2021-08-02 15:22:02 +00:00
cargoSha256 = "sha256-6siqfAWFoOomqcRvW+iku28FbyKCHiDzMVIUwWP8hJM=";
2020-12-03 14:42:57 +00:00
meta = with lib; {
description = "Tagref helps you refer to other locations in your codebase.";
homepage = "https://github.com/stepchowfun/tagref";
license = licenses.mit;
maintainers = [ maintainers.yusdacra ];
platforms = platforms.unix;
};
}