modernize
This commit is contained in:
@@ -1,17 +1,24 @@
|
||||
{ lib
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
, buildPythonApplication
|
||||
, setuptools
|
||||
, brother-ql
|
||||
, matplotlib
|
||||
, psycopg2
|
||||
, python-barcode
|
||||
, sqlalchemy
|
||||
}:
|
||||
python3Packages.buildPythonApplication {
|
||||
|
||||
buildPythonApplication {
|
||||
pname = "dibbler";
|
||||
version = "unstable-2021-09-07";
|
||||
version = "0-unstable-2021-09-07";
|
||||
pyproject = true;
|
||||
|
||||
src = lib.cleanSource ../.;
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = with python3Packages; [ setuptools ];
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
brother-ql
|
||||
built-system = [ setuptools ];
|
||||
dependencies = [
|
||||
brother-ql#-next
|
||||
matplotlib
|
||||
psycopg2
|
||||
python-barcode
|
||||
|
||||
@@ -23,7 +23,10 @@ in {
|
||||
group = "dibbler";
|
||||
extraGroups = [ "lp" ];
|
||||
isNormalUser = true;
|
||||
shell = ((pkgs.writeShellScriptBin "login-shell" "${screen} -x dibbler") // {shellPath = "/bin/login-shell";});
|
||||
shell = (
|
||||
(pkgs.writeShellScriptBin "login-shell" "${screen} -x dibbler")
|
||||
// {shellPath = "/bin/login-shell";}
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user