lol

Merge pull request #259479 from onemoresuza/libtickit

libtickit: refactor derivation

authored by

Peder Bergebakken Sundt and committed by
GitHub
223c8a6e f1cf03ba

+18 -7
+18 -7
pkgs/development/libraries/libtickit/default.nix
··· 7 7 , libtermkey 8 8 , unibilium 9 9 }: 10 - stdenv.mkDerivation rec { 10 + let 11 + version = "0.4.3"; 12 + in 13 + stdenv.mkDerivation { 11 14 pname = "libtickit"; 12 - version = "0.4.3"; 15 + inherit version; 13 16 14 17 src = fetchFromGitHub { 15 18 owner = "leonerd"; ··· 18 21 hash = "sha256-QCrym8g5J1qwsFpU/PB8zZIWdM3YzOySknISSbQE4Sc="; 19 22 }; 20 23 21 - makeFlags = [ 22 - "PREFIX=$(out)" 23 - "LIBTOOL=${lib.getExe libtool}" 24 + patches = [ 25 + # Disabled on darwin, since test assumes TERM=linux 26 + ./001-skip-test-18term-builder-on-macos.patch 24 27 ]; 25 28 26 29 nativeBuildInputs = [ 27 30 pkg-config 28 31 libtool 29 32 ]; 33 + 30 34 buildInputs = [ 31 35 libtermkey 32 36 unibilium 33 37 ]; 38 + 34 39 nativeCheckInputs = [ perl ]; 35 40 36 - patches = [ 37 - ./skipTestMacOS.patch 41 + makeFlags = [ 42 + "LIBTOOL=${lib.getExe libtool}" 38 43 ]; 44 + 45 + installFlags = [ 46 + "PREFIX=${placeholder "out"}" 47 + ]; 48 + 49 + enableParallelBuilding = true; 39 50 40 51 doCheck = true; 41 52
pkgs/development/libraries/libtickit/skipTestMacOS.patch pkgs/development/libraries/libtickit/001-skip-test-18term-builder-on-macos.patch