python313Packages.nocasedict: fetch src from GitHub (#444922)

This commit is contained in:
Aleksana
2025-12-13 13:56:05 +00:00
committed by GitHub
@@ -1,7 +1,7 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
pytestCheckHook,
setuptools,
setuptools-scm,
@@ -12,9 +12,11 @@ buildPythonPackage rec {
version = "2.1.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-tWPVhRy7DgsQ+7YYm6h+BhLSLlpvOgBKRXOrWziqqn0=";
src = fetchFromGitHub {
owner = "pywbem";
repo = "nocasedict";
tag = version;
hash = "sha256-6n0id4WBdrD+rYX9tFuynA6bV1n1LjVy5dj/TgXNkPw=";
};
build-system = [
@@ -29,7 +31,7 @@ buildPythonPackage rec {
meta = {
description = "Case-insensitive ordered dictionary for Python";
homepage = "https://github.com/pywbem/nocasedict";
changelog = "https://github.com/pywbem/nocasedict/blob/${version}/docs/changes.rst";
changelog = "https://github.com/pywbem/nocasedict/blob/${src.tag}/docs/changes.rst";
license = lib.licenses.lgpl21Plus;
maintainers = [ ];
};