Something went wrong. Try again.
Manifests and a static winget source for jcollie's Windows programs, built and signed on Linux.
Something went wrong. Try again.
winget-pkgs flake.nix
1.4 kB · 63 lines
Nix
at main
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364# SPDX-FileCopyrightText: © 2026 Jeffrey C. Ollie <jeff@ocjtech.us># SPDX-License-Identifier: MIT
{ description = "Manifests and a static winget source for jcollie's Windows programs";
inputs = { nixpkgs = { url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz"; }; };
outputs = { self, nixpkgs, ... }:
let inherit (nixpkgs) lib; makePackages = system: import nixpkgs { inherit system; }; forAllSystems = lib.genAttrs lib.systems.flakeExposed; in { devShells = forAllSystems ( system: let pkgs = makePackages system; in { default = pkgs.mkShell { name = "winget-pkgs"; nativeBuildInputs = [ (pkgs.python3.withPackages (ps: [ ps.jsonschema ps.pyyaml ps.regex ])) pkgs.caddy pkgs.check-jsonschema pkgs.curl pkgs.jq pkgs.msitools pkgs.git-pages-cli pkgs.openssl pkgs.osslsigncode pkgs.reuse pkgs.sqlite ]; shellHook = '' export PYTHONDONTWRITEBYTECODE=1 export PYTHONPATH="$PWD/tools''${PYTHONPATH:+:$PYTHONPATH}" ''; }; } ); };}