Commit 8cbd3c87 authored by Doron Behar's avatar Doron Behar
Browse files

python3.pkgs.apswutils: init at 0.1.2

parent da71ac00
Loading
Loading
Loading
Loading
+55 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  setuptools,

  # dependencies
  apsw,
  fastcore,

  # tests
  pytestCheckHook,
  hypothesis,
}:

buildPythonPackage (finalAttrs: {
  pname = "apswutils";
  version = "0.1.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "AnswerDotAI";
    repo = "apswutils";
    tag = finalAttrs.version;
    hash = "sha256-lqtgjQ4nhmcf52mFeXdFxvd8WNsDDR9PEeWAncBX46g=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    apsw
    fastcore
  ];

  nativeCheckInputs = [
    pytestCheckHook
    hypothesis
  ];

  pythonImportsCheck = [
    "apswutils"
  ];

  meta = {
    description = "A fork of sqlite-minutils for apsw";
    homepage = "https://github.com/AnswerDotAI/apswutils";
    changelog = "https://github.com/AnswerDotAI/apswutils/blob/${finalAttrs.src.tag}/CHANGELOG.md";
    license = lib.licenses.asl20;
    maintainers = [ ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -880,6 +880,8 @@ self: super: with self; {
  apsw = callPackage ../development/python-modules/apsw { };
  apswutils = callPackage ../development/python-modules/apswutils { };
  apsystems-ez1 = callPackage ../development/python-modules/apsystems-ez1 { };
  apt-repo = callPackage ../development/python-modules/apt-repo { };