Create Nix flake and app package

This commit is contained in:
2024-11-14 19:07:52 +01:00
parent 2a51b8e732
commit e367daf484
3 changed files with 50 additions and 0 deletions

16
flake.nix Normal file
View File

@@ -0,0 +1,16 @@
{
description = "Flake which provides support for Tauron Scrapper package as well as convinient module";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = {
self,
nixpkgs,
}: {
packages.x86_64-linux.tauron-scrapper = nixpkgs.legacyPackages.x86_64-linux.callPackage ./package.nix {};
packages.x86_64-linux.default = self.packages.x86_64-linux.tauron-scrapper;
};
}