mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
Merge pull request #259479 from onemoresuza/libtickit
libtickit: refactor derivation
This commit is contained in:
commit
223c8a6ed4
@ -7,9 +7,12 @@
|
||||
, libtermkey
|
||||
, unibilium
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libtickit";
|
||||
let
|
||||
version = "0.4.3";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "libtickit";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "leonerd";
|
||||
@ -18,25 +21,33 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-QCrym8g5J1qwsFpU/PB8zZIWdM3YzOySknISSbQE4Sc=";
|
||||
};
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
"LIBTOOL=${lib.getExe libtool}"
|
||||
patches = [
|
||||
# Disabled on darwin, since test assumes TERM=linux
|
||||
./001-skip-test-18term-builder-on-macos.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
libtool
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libtermkey
|
||||
unibilium
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ perl ];
|
||||
|
||||
patches = [
|
||||
./skipTestMacOS.patch
|
||||
makeFlags = [
|
||||
"LIBTOOL=${lib.getExe libtool}"
|
||||
];
|
||||
|
||||
installFlags = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user