Files
tauron-scrapper/flake.nix
2024-11-14 19:34:27 +01:00

26 lines
681 B
Nix

{
description = "Flake which provides support for Tauron Scrapper package as well as convinient module";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
flake-utils.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = {
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
in {
packages = rec {
tauron-scrapper = pkgs.callPackage ./package.nix {};
default = tauron-scrapper;
};
nixosModules.tauron-scrapper = pkgs.callPackage ./module.nix {inherit self;};
});
}