aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
blob: 76820d8cd118683d932b6b241e1b5458325876dd (plain)
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
{
  description = "InputXSLT";

  inputs = {
    nixpkgs.url = github:NixOS/nixpkgs/nixos-21.05;
  };

  outputs = { self, nixpkgs, ... }: {
    defaultPackage.x86_64-linux = let
      system = "x86_64-linux";
      pkgs = import nixpkgs { inherit system; };

    in pkgs.stdenv.mkDerivation rec {
      name = "input-xslt";

      src = pkgs.lib.cleanSource ./.;

      buildInputs = with pkgs; [
        cmake boost xalanc xercesc discount
      ];

      meta = {
        description = "InputXSLT";
        homepage    = https://tree.kummerlaender.eu/projects/xslt/input_xslt/;
        license     = pkgs.lib.licenses.asl20;
      };
    };
  };
}