3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/stork/default.nix

32 lines
705 B
Nix
Raw Normal View History

2021-03-04 02:56:32 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
2021-04-22 04:18:59 +01:00
, openssl
, pkg-config
2021-03-04 02:56:32 +00:00
}:
rustPlatform.buildRustPackage rec {
pname = "stork";
2021-12-22 15:59:01 +00:00
version = "1.3.0";
2021-03-04 02:56:32 +00:00
src = fetchFromGitHub {
owner = "jameslittle230";
repo = "stork";
rev = "v${version}";
2021-12-22 15:59:01 +00:00
sha256 = "sha256-or8PDEj97ChZq6r3WlwETYbU6EvoEuh8HfTyBIbbO8M=";
2021-03-04 02:56:32 +00:00
};
2021-12-22 15:59:01 +00:00
cargoSha256 = "sha256-UpIPbY2beO1H0YR9kV1SkG6C3qcO4x2acfgqI3x5jiM=";
2021-04-22 04:18:59 +01:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
2021-03-04 02:56:32 +00:00
meta = with lib; {
description = "Impossibly fast web search, made for static sites";
homepage = "https://github.com/jameslittle230/stork";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ chuahou ];
};
}