aboutsummaryrefslogtreecommitdiff
path: root/default.nix
blob: 38f3d65e38f309facf971d8df75e5286c1e2cfc9 (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
{ system ? builtins.currentSystem }:

let
  pkgs   = import <nixpkgs> { inherit system; };
  stdenv = pkgs.stdenv;

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

  src = pkgs.lib.cleanSource ./.;

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

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

  shellHook = ''
    export NIX_SHELL_NAME="${name}"
  '';
}