git.iko.soy/typeable/nixpkgs
on master help sign in
mirtk: use fetchFromGitHub instead of fetchgit
commitd81a96e601b352453ccc328cac42d13907b362c0 authorschneefux <schneefux+commit@schneefux.xyz> dateMon 8 Oct 2018, 14:33 (8 years ago) parent3145939
1 file changed+5−4
pkgs/development/libraries/science/biology/mirtk/default.nix+5−4
pkgs/development/libraries/science/biology/mirtk/default.nix+5−4
@@ -1,14 +1,15 @@
1−{ stdenv, lib, gtest, fetchgit, cmake, boost, eigen, python, vtk, zlib }:
1+{ stdenv, lib, gtest, fetchFromGitHub, cmake, boost, eigen, python, vtk, zlib }:
22
33stdenv.mkDerivation rec {
44 version = "2.0.0";
55 name = "mirtk-${version}";
66
7− # uses submodules so can't use fetchFromGitHub
8− src = fetchgit {
9− url = "https://github.com/BioMedIA/MIRTK.git";
7+ src = fetchFromGitHub {
8+ owner = "BioMedIA";
9+ repo = "MIRTK";
1010 rev = "v${version}";
1111 sha256 = "0i2v97m66ir5myvi5b123r7zcagwy551b73s984gk7lksl5yiqxk";
12+ fetchSubmodules = true;
1213 };
1314
1415 cmakeFlags = "-DWITH_VTK=ON -DBUILD_ALL_MODULES=ON -DBUILD_TESTING=ON";