mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-11 07:43:43 +00:00
33 lines
691 B
Nix
33 lines
691 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "asyncio-rlock";
|
|
version = "0.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "asyncio_rlock";
|
|
inherit (finalAttrs) version;
|
|
hash = "sha256-fimCQzFhmHPhDV2Z3MRte48ZbEoRsgP07szAwJEDnUM=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# no tests on PyPI, no tags on GitLab
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "asyncio_rlock" ];
|
|
|
|
meta = {
|
|
description = "Rlock like in threading module but for asyncio";
|
|
homepage = "https://gitlab.com/heckad/asyncio_rlock";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
})
|