mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
oxidized: use defaultGemConfig
This commit is contained in:
@@ -3,17 +3,8 @@
|
||||
ruby,
|
||||
bundlerApp,
|
||||
bundlerUpdateScript,
|
||||
defaultGemConfig,
|
||||
nixosTests,
|
||||
libssh2,
|
||||
pkg-config,
|
||||
openssl,
|
||||
cmake,
|
||||
libgit2,
|
||||
icu,
|
||||
which,
|
||||
file,
|
||||
zlib,
|
||||
libyaml,
|
||||
}:
|
||||
|
||||
bundlerApp {
|
||||
@@ -27,43 +18,7 @@ bundlerApp {
|
||||
"oxs"
|
||||
];
|
||||
|
||||
gemConfig = {
|
||||
rugged = attrs: {
|
||||
buildInputs = [
|
||||
pkg-config
|
||||
cmake
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
cmake
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
libssh2
|
||||
openssl
|
||||
libgit2
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
buildFlags = [ "--with-ssh" ];
|
||||
};
|
||||
|
||||
charlock_holmes = attrs: {
|
||||
buildInputs = [
|
||||
icu
|
||||
zlib
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
which
|
||||
pkg-config
|
||||
file
|
||||
];
|
||||
};
|
||||
|
||||
psych = attrs: {
|
||||
buildInputs = [ libyaml ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
};
|
||||
};
|
||||
gemConfig = defaultGemConfig;
|
||||
|
||||
passthru = {
|
||||
tests = nixosTests.oxidized;
|
||||
|
||||
@@ -1039,6 +1039,7 @@ in
|
||||
zlib
|
||||
];
|
||||
dontUseCmakeConfigure = true;
|
||||
buildFlags = [ "--with-ssh" ];
|
||||
};
|
||||
|
||||
sassc = attrs: {
|
||||
|
||||
Reference in New Issue
Block a user