Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8a98cf97e92c
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1e50e178ae22
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on May 9, 2018

  1. simpleitk: init at 1.1.0 (note this only builds the C++ libs, not the…

    … Python/Lua/... bindings) (#27451)
    
    * conglomerate: init at 2017-09-10
    
    * simpleitk: init at 1.1.0 (note this only builds the C++ libs, not the Python/Lua/... bindings)
    bcdarwin authored and matthewbauer committed May 9, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    songy23 Yang Song
    Copy the full SHA
    1e50e17 View commit details
Showing with 31 additions and 0 deletions.
  1. +29 −0 pkgs/development/libraries/simpleitk/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
29 changes: 29 additions & 0 deletions pkgs/development/libraries/simpleitk/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ stdenv, fetchurl, cmake, git, swig, lua, itk }:

stdenv.mkDerivation rec {
pname = "simpleitk";
version = "1.0.0";
name = "${pname}-${version}";

src = fetchurl {
url = "https://sourceforge.net/projects/${pname}/files/SimpleITK/${version}/Source/SimpleITK-${version}.tar.gz";
sha256 = "0554j0zp314zhs8isfg31fi6gvsl7xq3xjyyxkx1b1mjkn5qx673";
};

nativeBuildInputs = [ cmake git swig ];
buildInputs = [ lua itk ];

cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_CXX_FLAGS='-Wno-attributes'" ];

checkPhase = "ctest";

enableParallelBuilding = true;

meta = with stdenv.lib; {
homepage = http://www.simpleitk.org;
description = "Simplified interface to ITK";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
license = licenses.asl20;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -11519,6 +11519,8 @@ with pkgs;

simp_le = callPackage ../tools/admin/simp_le { };

simpleitk = callPackage ../development/libraries/simpleitk { lua = lua51Packages.lua; };

sfml = callPackage ../development/libraries/sfml { };
csfml = callPackage ../development/libraries/csfml { };