dotnet: improve language coverage of passthru.tests for dotnet sdks (#370789)
[NixPkgs.git] / pkgs / development / python-modules / thelogrus / default.nix
blobbed2a590a153d990ef9d5a479e90e678964339f1
2   lib,
3   buildPythonPackage,
4   dateutils,
5   fetchFromGitHub,
6   poetry-core,
7   pyaml,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "thelogrus";
13   version = "0.7.0";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "unixorn";
20     repo = "thelogrus";
21     tag = "v${version}";
22     hash = "sha256-96/EjDh5XcTsfUcTnsltsT6LMYbyKuM/eNyeq2Pukfo=";
23   };
25   nativeBuildInputs = [
26     poetry-core
27   ];
29   pythonRelaxDeps = [ "pyaml" ];
31   propagatedBuildInputs = [
32     dateutils
33     pyaml
34   ];
36   # Module has no unit tests
37   doCheck = false;
39   pythonImportsCheck = [ "thelogrus" ];
41   meta = with lib; {
42     description = "Python 3 version of logrus";
43     mainProgram = "human-time";
44     homepage = "https://github.com/unixorn/thelogrus";
45     changelog = "https://github.com/unixorn/thelogrus/blob/${version}/ChangeLog.md";
46     license = licenses.asl20;
47     maintainers = with maintainers; [ fab ];
48   };