itk-snap source and dependencies
This commit is contained in:
parent
b27bc85d98
commit
2a178c8dc5
3 changed files with 67 additions and 5 deletions
15
flake.nix
15
flake.nix
|
|
@ -1,15 +1,20 @@
|
|||
{
|
||||
description = "A very basic flake";
|
||||
description = "itk-SNAP package";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs }: {
|
||||
outputs =
|
||||
{ self, nixpkgs }:
|
||||
let
|
||||
pkgs = import nixpkgs {config = {}; overlays = []; system = "x86_64-linux";};
|
||||
in
|
||||
{
|
||||
|
||||
packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;
|
||||
packages.x86_64-linux.itk-snap = pkgs.callPackage ./itk-snap.nix {};
|
||||
|
||||
packages.x86_64-linux.default = self.packages.x86_64-linux.hello;
|
||||
packages.x86_64-linux.default = self.packages.x86_64-linux.itk-snap;
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue