~rjpcasalino/bss

ref: e667062781ba191422de3b93856b38ac7385abd7 bss/flake.nix -rw-r--r-- 768 bytes
e6670627rjpc add https://github.com/numtide/flake-utils 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  description = "A flake for building bss";

  inputs.nixpkgs.url = github:NixOS/nixpkgs/af0a54285ed4ff131f205517aeafb94a9a5898cb;
  inputs.flake-utils.url = "github:numtide/flake-utils";

  outputs = { self, nixpkgs, flake-utils }: 
  flake-utils.lib.eachDefaultSystem (system:
    with nixpkgs.legacyPackages.${system};
    let bss = 
        buildPerlPackage {
        pname = "bss";
        version = "0.1";
        src = self;
        propagatedBuildInputs = [
         perlPackages.TemplateToolkit
         perlPackages.ModuleInstall
         perlPackages.ConfigIniFiles
         perlPackages.YAML
         perlPackages.TextMarkdown
        ];
        buildInputs = [ 
         rsync
        ];
      };
    in rec {
      defaultPackage = bss;
      }
  );
}