dibbler/nix/dibbler.nix

29 lines
500 B
Nix
Raw Normal View History

2023-08-29 18:32:49 +02:00
{ lib
, fetchFromGitHub
2024-11-15 00:21:53 +01:00
, buildPythonApplication
, setuptools
, brother-ql
, matplotlib
, psycopg2
, python-barcode
, sqlalchemy
}:
2024-11-15 00:21:53 +01:00
buildPythonApplication {
2021-09-07 13:07:25 +02:00
pname = "dibbler";
2024-11-15 02:34:52 +01:00
version = "0.0.0";
2024-11-15 00:21:53 +01:00
pyproject = true;
2021-09-07 13:07:25 +02:00
2024-11-15 00:21:53 +01:00
src = lib.cleanSource ../.;
2023-08-29 18:32:49 +02:00
2024-11-15 02:34:52 +01:00
build-system = [ setuptools ];
2024-11-15 00:21:53 +01:00
dependencies = [
2024-11-15 02:34:52 +01:00
# we override pname to satisfy mkPythonEditablePackage
(brother-ql.overridePythonAttrs { pname = "brother-ql-next"; })
2023-08-29 18:32:49 +02:00
matplotlib
2021-09-07 13:07:25 +02:00
psycopg2
python-barcode
2023-08-29 18:32:49 +02:00
sqlalchemy
2021-09-07 13:07:25 +02:00
];
}