mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 09:36:32 +01:00
37 lines
821 B
Nix
37 lines
821 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
typing-extensions,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "diskcache-stubs";
|
|
version = "5.6.3.6";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "phi-friday";
|
|
repo = "diskcache-stubs";
|
|
tag = "v${version}";
|
|
hash = "sha256-yYds/00K9XyJirreBGG/r30HZTyBQbFa6N4EizsmdKg=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [ typing-extensions ];
|
|
|
|
pythonImportsCheck = [ "diskcache-stubs" ];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Diskcache stubs";
|
|
homepage = "https://github.com/phi-friday/diskcache-stubs";
|
|
changelog = "https://github.com/phi-friday/diskcache-stubs/releases/tag/${src.tag}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|