Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, cython, expandvars, fetchPypi, libssh, pythonOlder, setuptools, setuptools-scm, toml, wheel,}:
buildPythonPackage rec { pname = "ansible-pylibssh"; version = "1.2.2"; pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi { inherit pname version; hash = "sha256-dT5XDc3OtquONi6RzA1Zk77ryT0oe4gXjbVVCfZCOrU="; };
# Remove after https://github.com/ansible/pylibssh/pull/502 is merged postPatch = '' sed -i "/setuptools_scm_git_archive/d" pyproject.toml '';
build-system = [ cython expandvars setuptools setuptools-scm toml wheel ];
dependencies = [ libssh ];
pythonImportsCheck = [ "pylibsshext" ];
meta = with lib; { description = "Python bindings to client functionality of libssh specific to Ansible use case"; homepage = "https://github.com/ansible/pylibssh"; changelog = "https://github.com/ansible/pylibssh/releases/tag/v${version}"; license = licenses.lgpl21Plus; maintainers = with maintainers; [ geluk ]; };}