depot/third_party/nixpkgs/pkgs/development/python-modules/pylink-square/default.nix
Default email 889482aab3 Project import generated by Copybara.
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
2022-06-26 12:26:21 +02:00

41 lines
820 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, mock
, psutil
, six
, future
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pylink-square";
version = "0.13.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "square";
repo = "pylink";
rev = "v${version}";
hash = "sha256-SH2oxOlsX5dE8wMXpWPA/rEVrJwxJzizsOiYbwaGjLw=";
};
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;
};
}