Commit 77dc5171 authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent 6038b015
Loading
Loading
Loading
Loading
+10 −9
Original line number Diff line number Diff line
@@ -5,36 +5,37 @@
  natsort,
  pytestCheckHook,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "seedir";
  version = "0.4.2";
  format = "setuptools";
  version = "0.5.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "earnestt1234";
    repo = pname;
    repo = "seedir";
    rev = "refs/tags/v${version}";
    hash = "sha256-ioez5lBNyiBK3poL2Px3KtCQeM+Gh2d4iD3SoAIHFAk=";
    hash = "sha256-ilL2KKN5sJclVcStO/kZoacsPoMgcFW1/8M/PQjxw/U=";
  };

  propagatedBuildInputs = [ natsort ];
  build-system = [ setuptools ];

  dependencies = [ natsort ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "seedir" ];

  pytestFlagsArray = [ "tests/tests.py" ];

  meta = with lib; {
    description = "Module for for creating, editing, and reading folder tree diagrams";
    mainProgram = "seedir";
    homepage = "https://github.com/earnestt1234/seedir";
    changelog = "https://github.com/earnestt1234/seedir/releases/tag/v${version}";
    license = with licenses; [ mit ];
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
    mainProgram = "seedir";
  };
}