nyxexprs/pkgs/cloneit/package.nix

33 lines
774 B
Nix
Raw Normal View History

2023-11-03 07:25:58 +00:00
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
...
}:
rustPlatform.buildRustPackage {
2023-11-03 07:25:58 +00:00
pname = "cloneit";
version = "0-unstable-2024-06-28";
2023-11-03 07:25:58 +00:00
src = fetchFromGitHub {
owner = "alok8bb";
repo = "cloneit";
rev = "6198556e810d964cc5938c446ef42fc21b55fe0b";
sha256 = "sha256-RP0/kquAlSwRMeB6cjvS5JB9qfdkT8IKLVxaxrmzJ+0=";
2023-11-03 07:25:58 +00:00
};
cargoHash = "sha256-XXcqmDPEQUm4YBqY5+06X55ym3o3RqE7fNSiR4n+iyc=";
2023-11-03 07:25:58 +00:00
nativeBuildInputs = [pkg-config];
buildInputs = [openssl];
meta = {
description = "CLI tool to download specific GitHub directories or files";
homepage = "https://github.com/alok8bb/cloneit";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [NotAShelf];
platforms = lib.platforms.linux;
2023-11-03 07:25:58 +00:00
};
}