Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
77 lines
1.2 KiB
Nix
77 lines
1.2 KiB
Nix
{
|
|
fetchFromGitHub,
|
|
file,
|
|
lib,
|
|
pkg-config,
|
|
rustPlatform,
|
|
sqlite,
|
|
zstd,
|
|
cmake,
|
|
}:
|
|
|
|
let
|
|
pname = "qsv";
|
|
version = "7.1.0";
|
|
in
|
|
rustPlatform.buildRustPackage {
|
|
inherit pname version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dathere";
|
|
repo = "qsv";
|
|
rev = version;
|
|
hash = "sha256-jo5hlNydHXNqSjYOC270fmIk7GOeFACIZ3aZEca1M28=";
|
|
};
|
|
|
|
cargoHash = "sha256-jfr5wrOLBhvkikjDAb0vMT/Zwc+aYrSWF5lIC7EGwME=";
|
|
|
|
buildInputs = [
|
|
file
|
|
sqlite
|
|
zstd
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
rustPlatform.bindgenHook
|
|
cmake
|
|
];
|
|
|
|
buildFeatures = [
|
|
"apply"
|
|
"feature_capable"
|
|
"fetch"
|
|
"foreach"
|
|
"geocode"
|
|
"to"
|
|
];
|
|
|
|
checkFeatures = [
|
|
"apply"
|
|
"feature_capable"
|
|
"fetch"
|
|
"foreach"
|
|
"geocode"
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
env = {
|
|
ZSTD_SYS_USE_PKG_CONFIG = true;
|
|
};
|
|
|
|
meta = {
|
|
description = "CSVs sliced, diced & analyzed";
|
|
homepage = "https://github.com/dathere/qsv";
|
|
changelog = "https://github.com/dathere/qsv/blob/${version}/CHANGELOG.md";
|
|
license = with lib.licenses; [
|
|
mit
|
|
# or
|
|
unlicense
|
|
];
|
|
maintainers = with lib.maintainers; [
|
|
detroyejr
|
|
];
|
|
};
|
|
}
|