Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
857 B · 39 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940{ buildPythonPackage, cffi, fetchPypi, lib, pytestCheckHook}:
buildPythonPackage rec { pname = "reflink"; version = "0.2.1";
src = fetchPypi { inherit pname version; hash = "sha256-ySU1gtskQTv9cDq/wbKkneePMbSQcjnyhumhkpoebjo="; };
propagatedBuildInputs = [ cffi ];
propagatedNativeBuildInputs = [ cffi ];
nativeCheckInputs = [ pytestCheckHook ];
postPatch = '' substituteInPlace setup.py \ --replace "pytest-runner" "" '';
# FIXME: These do not work, and I have been unable to figure out why. doCheck = false;
pythonImportsCheck = [ "reflink" ];
meta = with lib; { description = "Python reflink wraps around platform specific reflink implementations"; homepage = "https://gitlab.com/rubdos/pyreflink"; license = licenses.mit; maintainers = with maintainers; [ lovesegfault ]; };}