mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
pythonPackages.pysingleton: init at 0.2.1
Co-Authored-By: Chris <grkcharge@gmail.com>
This commit is contained in:
parent
7c4a19b2ee
commit
86f9646cb8
26
pkgs/development/python-modules/pysingleton/default.nix
Normal file
26
pkgs/development/python-modules/pysingleton/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pysingleton";
|
||||||
|
version = "0.2.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "5776e7a4ba0bab26709da604f4e648c5814385fef34010723db3da0d41b0dbcc";
|
||||||
|
};
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "singleton" ];
|
||||||
|
|
||||||
|
# No tests in the Pypi package.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Provides a decorator to create thread-safe singleton classes";
|
||||||
|
homepage = "https://github.com/timofurrer/pysingleton";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ kalbasit ];
|
||||||
|
};
|
||||||
|
}
|
@ -2536,6 +2536,8 @@ in {
|
|||||||
|
|
||||||
PyLD = callPackage ../development/python-modules/PyLD { };
|
PyLD = callPackage ../development/python-modules/PyLD { };
|
||||||
|
|
||||||
|
pysingleton = callPackage ../development/python-modules/pysingleton { };
|
||||||
|
|
||||||
python-jose = callPackage ../development/python-modules/python-jose {};
|
python-jose = callPackage ../development/python-modules/python-jose {};
|
||||||
|
|
||||||
python-json-logger = callPackage ../development/python-modules/python-json-logger { };
|
python-json-logger = callPackage ../development/python-modules/python-json-logger { };
|
||||||
|
Loading…
Reference in New Issue
Block a user