treewide. complete refactor

Lots of cleaning up, I cannot be arsed to commit everything one-by-one
This commit is contained in:
raf 2024-07-22 00:19:39 +03:00
commit 5b7812600d
Signed by: NotAShelf
GPG key ID: AF26552424E53993
24 changed files with 631 additions and 464 deletions

32
pkgs/cloneit/package.nix Normal file
View file

@ -0,0 +1,32 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
...
}:
rustPlatform.buildRustPackage rec {
pname = "cloneit";
version = "0.1.0";
src = fetchFromGitHub {
owner = "alok8bb";
repo = "cloneit";
rev = version;
sha256 = "CyR/vdg6xqlxmv8jOXka3JIBhi8zafHiBOL67XLf5KM=";
};
cargoSha256 = "zhsFIU7gmP4gR5NhrFslFSvYIXH1fxJLZU8nV67PluQ=";
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];
};
}