Files
nixpkgs/pkgs/by-name/zi/zinnia/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

34 lines
791 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "zinnia";
version = "2016-08-28";
src = fetchFromGitHub {
owner = "taku910";
repo = "zinnia";
rev = "fd74d8c8680bb3df8692279151ea6339ab68e32b";
sha256 = "1izjy5qw6swg0rs2ym2i72zndb90mwrfbd1iv8xbpwckbm4899lg";
};
sourceRoot = "${finalAttrs.src.name}/zinnia";
patches = [
# Fixes the following error on darwin:
# svm.cpp:50:10: error: no member named 'random_shuffle' in namespace 'std'
./remove-random-shuffle-usage.patch
];
meta = {
description = "Online hand recognition system with machine learning";
homepage = "http://taku910.github.io/zinnia/";
license = lib.licenses.bsd2;
platforms = lib.platforms.unix;
maintainers = [ ];
};
})