28 lines
424 B
Nix
28 lines
424 B
Nix
{
|
|
buildPythonApplication,
|
|
setuptools,
|
|
beautifulsoup4,
|
|
requests,
|
|
matplotlib,
|
|
sqlite,
|
|
...
|
|
}:
|
|
let
|
|
pname = "tuh-activity-logger";
|
|
version = "1.0";
|
|
in
|
|
buildPythonApplication {
|
|
inherit pname version;
|
|
src = builtins.path {
|
|
path = ../src/tuhmayto/.;
|
|
name = "${pname}-${version}";
|
|
};
|
|
build-system = [ setuptools ];
|
|
dependencies = [
|
|
sqlite
|
|
beautifulsoup4
|
|
requests
|
|
matplotlib
|
|
];
|
|
}
|