nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 rustPlatform,
3 lib,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "hyperlink";
9 version = "0.1.35";
10
11 src = fetchFromGitHub {
12 owner = "untitaker";
13 repo = "hyperlink";
14 rev = version;
15 hash = "sha256-sx1OW056s40uhwwgGtNKiPkKSUy7/ZzSYGnjc0UKh/E=";
16 };
17
18 cargoHash = "sha256-2/i+YllfS1ZC+nzmjBMJLjcq6Q+upFX2Wc+jmBO4zp0=";
19
20 meta = {
21 description = "Very fast link checker for CI";
22 homepage = "https://github.com/untitaker/hyperlink";
23 license = lib.licenses.mit;
24 maintainers = with lib.maintainers; [ samueltardieu ];
25 mainProgram = "hyperlink";
26 };
27}