mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
86b27c138d
It confuses the update script, preventing automatic updates through nixpkgs-update.
39 lines
710 B
Nix
39 lines
710 B
Nix
{ lib
|
|
, python3
|
|
}:
|
|
|
|
let
|
|
inherit (python3.pkgs) buildPythonPackage fetchPypi;
|
|
in
|
|
buildPythonPackage rec {
|
|
pname = "meerk40t-camera";
|
|
version = "0.1.9";
|
|
format = "setuptools";
|
|
|
|
src = python3.pkgs.fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-uGCBHdgWoorVX2XqMCg0YBweb00sQ9ZSbJe8rlGeovs=";
|
|
};
|
|
|
|
postPatch = ''
|
|
sed -i '/meerk40t/d' setup.py
|
|
'';
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
opencv4
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"camera"
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "MeerK40t camera plugin";
|
|
license = licenses.mit;
|
|
homepage = "https://github.com/meerk40t/meerk40t-camera";
|
|
maintainers = with maintainers; [ hexa ];
|
|
};
|
|
}
|