3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #200193 from fabaff/datasette-publish-fly

python310Packages.datasette-publish-fly: init at 1.2
This commit is contained in:
Fabian Affolter 2022-11-08 15:48:22 +01:00 committed by GitHub
commit 8f1cbf146f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, cogapp
, datasette
, fetchFromGitHub
, pytest-mock
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "datasette-publish-fly";
version = "1.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "simonw";
repo = pname;
rev = version;
hash = "sha256-0frP/RkpZX6LCR8cOlzcBG3pbcOh0KPuELlYUXS3dRE=";
};
propagatedBuildInputs = [
datasette
];
checkInputs = [
cogapp
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [
"datasette_publish_fly"
];
meta = with lib; {
description = "Datasette plugin for publishing data using Fly";
homepage = "https://datasette.io/plugins/datasette-publish-fly";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -2175,6 +2175,8 @@ self: super: with self; {
datasette = callPackage ../development/python-modules/datasette { };
datasette-publish-fly = callPackage ../development/python-modules/datasette-publish-fly { };
datasette-template-sql = callPackage ../development/python-modules/datasette-template-sql { };
datashader = callPackage ../development/python-modules/datashader { };