depot/third_party/nixpkgs/pkgs/development/python-modules/confight/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

36 lines
654 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, toml
}:
buildPythonPackage rec {
pname = "confight";
version = "2.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-iodoexnh9tG4dgkjDXCUzWRFDhRlJ3HRgaNhxG2lwPY=";
};
nativeBuildInputs = [
setuptools
];
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 ];
};
}