Unverified Commit fb7713fc authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

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

parents 2c444d10 33dde706
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
{
  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 = [ ];
  };