add lots of package meta

This commit is contained in:
Shelvacu
2025-07-12 13:17:18 -07:00
committed by Shelvacu on fw
parent 27f693a9f6
commit 09e13ceec4
10 changed files with 65 additions and 18 deletions

View File

@@ -11,7 +11,7 @@ rustPlatform.buildRustPackage {
description = "CLI for taking some text and aLtErNaTiNg CaPiTaLiZaTiOn for dramatic effect";
mainProgram = "altcaps";
platforms = lib.platforms.all;
license = lib.licenses.mit;
sourceProvenance = lib.sourceTypes.fromSource;
license = [ lib.licenses.mit ];
sourceProvenance = [ lib.sourceTypes.fromSource ];
};
}

View File

@@ -51,7 +51,7 @@ let
meta = {
description = "CLI for downloading purchased music from bandcamp";
homepage = "https://framagit.org/Ezwen/bandcamp-collection-downloader";
license = lib.licenses.agplv3Only;
license = [ lib.licenses.agplv3Only ];
sourceProvenance = with lib.sourceTypes; [
fromSource
# because of how dependencies are currently handled with the mitm cache

View File

@@ -39,7 +39,7 @@ buildNpmPackage (finalAttrs: {
meta = {
description = "An Automatic Configuration Server implementing the TR-069 protocol";
homepage = "https://genieacs.com/";
license = lib.licenses.agpl3Only;
license = [ lib.licenses.agpl3Only ];
sourceProvenance = with lib.sourceTypes; [
fromSource
# things are pulled from npm, and some npm packages may include prebuilt stuff

View File

@@ -28,8 +28,8 @@ stdenv.mkDerivation {
meta = {
description = "Lua script for HAProxy to add access control to your HTTP services based on a subrequest";
homepage = "https://github.com/TimWolla/haproxy-auth-request";
license = lib.licenses.mit;
sourceProvenance = lib.sourceTypes.fromSource;
license = [ lib.licenses.mit ];
sourceProvenance = [ lib.sourceTypes.fromSource ];
# no mainProgram
platforms = lib.platforms.all;
};

View File

@@ -28,8 +28,8 @@ let
meta = {
description = "pure Lua HTTP 1.1 library for HAProxy";
homepage = "https://github.com/haproxytech/haproxy-lua-http";
license = lib.licenses.asl20;
sourceProvenance = lib.sourceTypes.fromSource;
license = [ lib.licenses.asl20 ];
sourceProvenance = [ lib.sourceTypes.fromSource ];
# no mainProgram
platforms = lib.platforms.all;
};

View File

@@ -8,13 +8,13 @@
}:
stdenv.mkDerivation rec {
pname = "openterface-qt";
version = "0.0.6";
version = "0.3.18";
src = fetchFromGitHub {
owner = "TechxArtisanStudio";
repo = "Openterface_QT";
rev = "v${version}";
hash = "sha256-orSOEzyplV0d+faaaRpXeMOhwbnOFxir7DG3LdErCdI=";
rev = "${version}";
hash = "sha256-yD71UOi6iRd9N3NeASUzqoeHMcTYIqkysAfxRm7GkOA=";
};
nativeBuildInputs = with qt6; [
@@ -40,8 +40,8 @@ stdenv.mkDerivation rec {
description = "Client software for Openterface Mini-KVM";
homepage = "https://openterface.com/app/qt/";
changelog = "https://github.com/TechxArtisanStudio/Openterface_QT/releases";
license = lib.licenses.agpl3Only;
sourceProvenance = lib.sourceTypes.fromSource;
license = [ lib.licenses.agpl3Only ];
sourceProvenance = [ lib.sourceTypes.fromSource ];
mainProgram = "openterface-qt";
platforms = lib.platforms.all;
};

View File

@@ -1,8 +1,22 @@
{ runCommandLocal, writeText }:
{
lib,
runCommandLocal,
writeText,
}:
let
filePkg = writeText "shellvaculib.bash" (builtins.readFile ./shellvaculib.bash);
in
runCommandLocal "shellvaculib" { passthru.file = filePkg; } ''
runCommandLocal "shellvaculib" {
passthru.file = filePkg;
meta = {
description = "Bunch of misc shell functions I find useful";
license = [ lib.licenses.mit ];
sourceProvenance = [ lib.sourceTypes.fromSource ];
# no mainProgram
platforms = lib.platforms.all;
};
} ''
mkdir -p "$out"/share
mkdir -p "$out"/bin
ln -s ${filePkg} "$out"/share/shellvaculib.bash

View File

@@ -1,4 +1,6 @@
{
lib,
python3Packages,
fetchFromGitHub,
stdenv,
@@ -30,5 +32,12 @@ stdenv.mkDerivation {
runHook postInstall
'';
meta.mainProgram = "transferwee";
meta = {
description = "CLI tool to upload and download files via wetransfer.com";
homepage = "https://github.com/iamleot/transferwee";
license = [ lib.licenses.bsd2 ];
sourceProvenance = [ lib.sourceTypes.fromSource ];
mainProgram = "transferwee";
platforms = lib.platforms.all;
};
}

View File

@@ -1,4 +1,9 @@
{ rustPlatform, sqlite }:
{
lib,
rustPlatform,
sqlite,
}:
rustPlatform.buildRustPackage {
pname = "vacu-history";
version = "1.0.0";
@@ -8,4 +13,12 @@ rustPlatform.buildRustPackage {
cargoLock.lockFile = ./Cargo.lock;
buildInputs = [ sqlite ];
meta = {
description = "program to store bash command history in a sqlite file";
license = [ lib.licenses.mit ];
sourceProvenance = [ lib.sourceTypes.fromSource ];
mainProgram = "vacu-history";
platforms = lib.platforms.all;
};
}

View File

@@ -1,4 +1,6 @@
{
lib,
stdenv,
cmake,
gnumake,
@@ -23,5 +25,14 @@ stdenv.mkDerivation rec {
hash = "sha256-9OpiMhO+75aHo3Nf7qcjC0QBXxxcvT8t7Mqc8bnjZoM=";
};
# CMAKE_ARGS = [ "-DCMAKE_BUILD_TYPE=Release" ];
CMAKE_ARGS = [ "-DCMAKE_BUILD_TYPE=Release" ];
meta = {
description = "theorem prover from Microsoft Research";
homepage = "https://github.com/Z3Prover/z3/wiki";
license = [ lib.licenses.mit ];
sourceProvenance = [ lib.sourceTypes.fromSource ];
mainProgram = "z3";
platforms = lib.platforms.all;
};
}