depot/third_party/nixpkgs/pkgs/development/python-modules/pylink-square/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

41 lines
835 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, mock
, psutil
, six
, future
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pylink-square";
version = "1.1.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "square";
repo = "pylink";
rev = "refs/tags/v${version}";
hash = "sha256-pICSU33n/oH+LRbWNYOdnTaa5qAGRRXWsO1NjO4ylzw=";
};
propagatedBuildInputs = [ psutil six future ];
nativeCheckInputs = [
mock
pytestCheckHook
];
pythonImportsCheck = [ "pylink" ];
meta = with lib; {
description = "Python interface for the SEGGER J-Link";
homepage = "https://github.com/square/pylink";
changelog = "https://github.com/square/pylink/blob/${src.rev}/CHANGELOG.md";
maintainers = with maintainers; [ dump_stack ];
license = licenses.asl20;
};
}