pyjecteur/pyjecteur.nix

20 lines
552 B
Nix
Raw Normal View History

2023-12-09 16:31:17 +01:00
{ lib , pkgs, stdenv, setuptoolsBuildHook, buildPythonPackage, pythonPackages , fetchFromGitHub }:
let
attrs = {
name = "pyjecteur";
2023-12-15 10:45:10 +01:00
version = "3.0";
2023-12-09 16:31:17 +01:00
doCheck = false;
src = ./. ;
passthru = {
wheel = buildPythonPackage (attrs // {
name = "pyjecteur-py3.whl";
installPhase = "mv dist/pyjecteur-2.0-py3-none-any.whl $out";
dontFixup = true;
doInstallCheck = false;
});
};
propagatedBuildInputs = [ pythonPackages.pyserial pythonPackages.colour ];
};
in
buildPythonPackage attrs