pkgs/dropout-dl: init at 0.9

This commit is contained in:
Infinidoge 2025-07-02 04:13:37 -04:00
parent 46cc98986f
commit cc3c47c126
Signed by: Infinidoge
SSH key fingerprint: SHA256:GT2StvPQMMfFHyiiFJymQxfTG/z6EWLJ6NWItf5K5sA
2 changed files with 28 additions and 0 deletions

View file

@ -1,6 +1,7 @@
{ pkgs }: { pkgs }:
rec { rec {
bytecode-viewer = pkgs.callPackage ./bytecode-viewer.nix { }; bytecode-viewer = pkgs.callPackage ./bytecode-viewer.nix { };
dropout-dl = pkgs.callPackage ./dropout-dl.nix { };
ears-cli = pkgs.callPackage ./ears-cli.nix { }; ears-cli = pkgs.callPackage ./ears-cli.nix { };
fw-ectool = pkgs.callPackage ./fw-ectool.nix { }; fw-ectool = pkgs.callPackage ./fw-ectool.nix { };
hexagon = pkgs.callPackage ./hexagon.nix { }; hexagon = pkgs.callPackage ./hexagon.nix { };

27
pkgs/dropout-dl.nix Normal file
View file

@ -0,0 +1,27 @@
{
stdenv,
fetchFromGitHub,
cmake,
curl,
}:
stdenv.mkDerivation rec {
pname = "dropout-dl";
version = "0.9";
src = fetchFromGitHub {
owner = "mosswg";
repo = "dropout-dl";
tag = "v${version}";
hash = "sha256-fN5RRDa+IDAT9uXpiEEaBRMXHOn7ZY4R1iqXJ9kpla8=";
fetchSubmodules = true;
};
installPhase = ''
install -m555 -D -t $out/bin dropout-dl
'';
nativeBuildInputs = [ cmake ];
buildInputs = [ curl ];
}