summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/outspin/default.nix
blob: bddf1efb92ca3fbc883aabb1256b9ff1db993e2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  pytestCheckHook,
}:

buildPythonPackage (finaAttrs: {
  pname = "outspin";
  version = "0.3.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "trag1c";
    repo = "outspin";
    tag = "v${finaAttrs.version}";
    hash = "sha256-j+J3n/p+DcfnhGfC4/NDBDl5bF39L5kIPeGJW0Zm7ls=";
  };

  build-system = [ poetry-core ];
  pythonImportsCheck = [ "outspin" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    changelog = "https://github.com/trag1c/outspin/blob/${finaAttrs.src.tag}/CHANGELOG.md";
    description = "Conveniently read single char inputs in the console";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ sigmanificient ];
  };
})