Commit a8f140d1 authored by Bruno BELANYI's avatar Bruno BELANYI
Browse files

python3Packages.reflink-copy: use finalAttrs

parent 46feab2d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "reflink-copy";
  version = "0.3.3";
  pyproject = true;
@@ -14,12 +14,12 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "iterative";
    repo = "reflink-copy";
    tag = version;
    tag = finalAttrs.version;
    hash = "sha256-HxUAsqV5kjstfBfY/nEGJ3epUVT5WXoTqKerUggKDyo=";
  };

  cargoDeps = rustPlatform.fetchCargoVendor {
    inherit pname version src;
    inherit (finalAttrs) pname version src;
    hash = "sha256-TBKVf0kRRYn+1aYvhQHCHmJEsT0khFxp8iuyEWX9xyI=";
  };

@@ -38,4 +38,4 @@ buildPythonPackage rec {
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ ambroisie ];
  };
}
})