ffc78d3539
GitOrigin-RevId: d9dba88d08a9cdf483c3d45f0d7220cf97a4ce64
33 lines
746 B
Nix
33 lines
746 B
Nix
{ buildPythonPackage
|
|
, cffi
|
|
, fetchPypi
|
|
, lib
|
|
, pytestCheckHook
|
|
, pytestrunner
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "reflink";
|
|
version = "0.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-ySU1gtskQTv9cDq/wbKkneePMbSQcjnyhumhkpoebjo=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cffi pytestrunner ];
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|