depot/third_party/nixpkgs/pkgs/development/python-modules/pylink-square/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

41 lines
829 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, mock
, psutil
, six
, future
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pylink-square";
version = "1.0.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "square";
repo = "pylink";
rev = "refs/tags/v${version}";
hash = "sha256-05mg2raHiKg0gHxF/7zFd81C/8OrhStThMwEnpaFGSc=";
};
propagatedBuildInputs = [ psutil six future ];
checkInputs = [
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;
};
}