summaryrefslogtreecommitdiff
path: root/tools/sops-inventory/default.nix
blob: 2fc485a7b2f75ce71fd968dd39057ef922e545fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ system, self, mach-nix, ... }:
let
  pkgs = self.legacyPackages.${system};
in mach-nix.lib.${system}.buildPythonPackage {
  pname = "sops-inventory";
  version = "0.0.0";

  src = pkgs.lib.sourceByRegex ./. ["^setup\.py$" "^sops_inventory(/[^/]+.*)?$"];

  ignoreDataOutdated = true;
  requirements = ''
    pyyaml
  '';
}