nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 855 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation { 9 pname = "arguments"; 10 version = "1.4.60-unstable-2023-01-18"; 11 12 src = fetchFromGitHub { 13 owner = "BIC-MNI"; 14 repo = "arguments"; 15 rev = "ed7c4c126b800d4312469e3cd3999a31e96fed0e"; 16 hash = "sha256-1QxVZ17zSqx5P9nGAXHf7Fj86fuGn17PllGXFqyYJUo="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 doCheck = false; # test binary not built by cmake 22 23 postPatch = '' 24 substituteInPlace CMakeLists.txt \ 25 --replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 3.1)" "cmake_minimum_required(VERSION 3.10)" 26 ''; 27 28 meta = { 29 homepage = "https://github.com/BIC-MNI/arguments"; 30 description = "Library for argument handling for MINC programs"; 31 maintainers = with lib.maintainers; [ bcdarwin ]; 32 platforms = lib.platforms.unix; 33 license = lib.licenses.gpl2Plus; 34 }; 35}