Skip to content

Commit 525ac2b

Browse files
committed
python312Packages.dbt-common: 1.23.0 -> 1.23.0-unstable-2025-04-21
Switch to github archive to have access to tests. Signed-off-by: Ihar Hrachyshka <[email protected]>
1 parent 772dcd3 commit 525ac2b

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

pkgs/development/python-modules/dbt-common/default.nix

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
lib,
33
buildPythonPackage,
4-
fetchPypi,
4+
fetchFromGitHub,
55

66
# build-system
77
hatchling,
@@ -28,14 +28,14 @@
2828

2929
buildPythonPackage rec {
3030
pname = "dbt-common";
31-
version = "1.23.0";
31+
version = "1.23.0-unstable-2025-04-21";
3232
pyproject = true;
3333

34-
# No tags on GitHub
35-
src = fetchPypi {
36-
pname = "dbt_common";
37-
inherit version;
38-
hash = "sha256-LsczRn2rTb9RVlGpNHznHkKJht3Lke1MLVCExeneouM=";
34+
src = fetchFromGitHub {
35+
owner = "dbt-labs";
36+
repo = pname;
37+
rev = "03e09c01f20573975e8e17776a4b7c9088b3f212"; # They don't tag releases
38+
hash = "sha256-KqnwlFZZRYuWRflMzjrqCPBnzY9q/pPhceM2DGqz5bw=";
3939
};
4040

4141
build-system = [ hatchling ];
@@ -77,7 +77,6 @@ buildPythonPackage rec {
7777
"test_extra_dict_on_event"
7878
];
7979

80-
# No tests in the pypi archive
8180
doCheck = false;
8281

8382
pythonImportsCheck = [ "dbt_common" ];

0 commit comments

Comments
 (0)