diff --git a/pkgs/development/python-modules/dogpile.core/default.nix b/pkgs/development/python-modules/dogpile-core/default.nix similarity index 72% rename from pkgs/development/python-modules/dogpile.core/default.nix rename to pkgs/development/python-modules/dogpile-core/default.nix index 8ef37282250d..32a1f59e9270 100644 --- a/pkgs/development/python-modules/dogpile.core/default.nix +++ b/pkgs/development/python-modules/dogpile-core/default.nix @@ -1,19 +1,23 @@ { lib, buildPythonPackage, fetchPypi }: buildPythonPackage rec { - pname = "dogpile.core"; + pname = "dogpile-core"; version = "0.4.1"; src = fetchPypi { - inherit pname version; + pname = "dogpile.core"; + inherit version; sha256 = "0xpdvg4kr1isfkrh1rfsh7za4q5a5s6l2kf9wpvndbwf3aqjyrdy"; }; doCheck = false; + pythonImportsCheck = [ "dogpile.core" ]; + meta = with lib; { description = "A 'dogpile' lock, typically used as a component of a larger caching solution"; homepage = "https://bitbucket.org/zzzeek/dogpile.core"; license = licenses.bsd3; + maintainers = with maintainers; [ ]; }; } diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b25cc0339c4a..22ad1d220a72 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2257,7 +2257,7 @@ in { dogpile-cache = callPackage ../development/python-modules/dogpile-cache { }; - dogpile_core = callPackage ../development/python-modules/dogpile.core { }; + dogpile-core = callPackage ../development/python-modules/dogpile-core { }; dogtail = callPackage ../development/python-modules/dogtail { };