nixpkgs-suyu/pkgs/development/python-modules/confight/default.nix

31 lines
580 B
Nix
Raw Normal View History

2021-10-20 22:28:59 +02:00
{ lib
, buildPythonPackage
, fetchPypi
, toml
}:
buildPythonPackage rec {
pname = "confight";
version = "1.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-fJr7f9Y/zEpCedWYd04AMuhkOFqZLJOw4sDiz8SDQ/Y=";
};
propagatedBuildInputs = [
toml
];
pythonImportsCheck = [ "confight" ];
doCheck = false;
meta = with lib; {
description = "Python context manager for managing pid files";
homepage = "https://github.com/avature/confight";
license = with licenses; [ mit ];
maintainers = with maintainers; [ mkg20001 ];
};
}