Unverified Commit 039731cc authored by Bruno BELANYI's avatar Bruno BELANYI Committed by GitHub
Browse files

python3Packages: migrate my packages to `finalAttrs` (#477139)

parents f8f17016 c95f5ec5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
  setuptools,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "aiobtclientapi";
  version = "1.1.4";
  pyproject = true;
@@ -21,7 +21,7 @@ buildPythonPackage rec {
    domain = "codeberg.org";
    owner = "plotski";
    repo = "aiobtclientapi";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-ga3EyKhfdEKkjFktUlgLSX54QbTc/a48vmWjmRqa+4w=";
  };

@@ -64,4 +64,4 @@ buildPythonPackage rec {
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ ambroisie ];
  };
}
})
+3 −3
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
  fetchpatch,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "aiobtclientrpc";
  version = "5.0.1";
  pyproject = true;
@@ -24,7 +24,7 @@ buildPythonPackage rec {
    domain = "codeberg.org";
    owner = "plotski";
    repo = "aiobtclientrpc";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-2nBrIMlYUI4PwirkiSJSkw5zw2Kc/KoVRyIIYYx4iYs=";
  };

@@ -80,4 +80,4 @@ buildPythonPackage rec {
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ ambroisie ];
  };
}
})
+3 −3
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "beancount-black";
  version = "1.0.5";

@@ -19,7 +19,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "LaunchPlatform";
    repo = "beancount-black";
    tag = version;
    tag = finalAttrs.version;
    hash = "sha256-vo11mlgDhyc8YFnULJ4AFrANWmGpAMNX5jJ6QaUNqk0=";
  };

@@ -41,4 +41,4 @@ buildPythonPackage rec {
    license = with lib.licenses; [ mit ];
    maintainers = with lib.maintainers; [ ambroisie ];
  };
}
})
+4 −4
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "beancount-parser";
  version = "1.2.3";
  format = "pyproject";
@@ -18,7 +18,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "LaunchPlatform";
    repo = "beancount-parser";
    tag = version;
    tag = finalAttrs.version;
    hash = "sha256-8YcrsLdSRTixKXU/IM821kNcBo0jB/8DXA1/KiedsBY=";
  };

@@ -33,8 +33,8 @@ buildPythonPackage rec {
  meta = {
    description = "Standalone Lark based Beancount syntax parser";
    homepage = "https://github.com/LaunchPlatform/beancount-parser/";
    changelog = "https://github.com/LaunchPlatform/beancount-parser/releases/tag/${version}";
    changelog = "https://github.com/LaunchPlatform/beancount-parser/releases/tag/${finalAttrs.version}";
    license = with lib.licenses; [ mit ];
    maintainers = with lib.maintainers; [ ambroisie ];
  };
}
})
+3 −3
Original line number Diff line number Diff line
@@ -5,13 +5,13 @@
  bleach,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "bleach-allowlist";
  version = "1.0.3";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    inherit (finalAttrs) pname version;
    hash = "sha256-VuIghgeaDmoxAK6Z5NuvIOslhUhlmOsOmUAIoRQo2ps=";
  };

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