Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
979 B · 50 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, fetchFromGitHub, pytest-asyncio, pytestCheckHook, pythonOlder, setuptools-scm}:
buildPythonPackage rec { pname = "aioshutil"; version = "1.3"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "kumaraditya303"; repo = pname; rev = "v${version}"; hash = "sha256-XIGjiLjoyS/7vUDIyBPvHNMyHOBa0gsg/c/vGgrhZAg="; };
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [ setuptools-scm ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
postPatch = '' substituteInPlace setup.cfg \ --replace " --cov aioshutil --cov-report xml" "" '';
pythonImportsCheck = [ "aioshutil" ];
meta = with lib; { description = "Asynchronous version of function of shutil module"; homepage = "https://github.com/kumaraditya303/aioshutil"; license = with licenses; [ bsd3 ]; maintainers = with maintainers; [ fab ]; };}