package ecg with nix
This commit is contained in:
parent
817ec821c5
commit
742d6008f5
3
ecg/run.py
Normal file
3
ecg/run.py
Normal file
@ -0,0 +1,3 @@
|
||||
from app import *
|
||||
|
||||
ecg.main()
|
37
ecg/setup.py
Normal file
37
ecg/setup.py
Normal file
@ -0,0 +1,37 @@
|
||||
from setuptools import setup
|
||||
|
||||
setup(
|
||||
# Application name:
|
||||
name="ecg",
|
||||
|
||||
# Version number (initial):
|
||||
version="0.0.1",
|
||||
|
||||
# Application author details:
|
||||
author="Quentin Guilloteau, Antoine Waehren",
|
||||
author_email="Quentin.Guilloteau@unibas.ch, Antoine.Waehren@stud.unibas.ch",
|
||||
|
||||
# Packages
|
||||
packages=["app"],
|
||||
|
||||
# Include additional files into the package
|
||||
entry_points={
|
||||
'console_scripts': ['ecg=app.ecg:main'],
|
||||
},
|
||||
|
||||
# Details
|
||||
url="https://forge.chapril.org/GuilloteauQ/study-docker-repro-longevity",
|
||||
|
||||
description="Test the software environment of Dockerfiles from research artifacts",
|
||||
|
||||
long_description="""
|
||||
ECG is a program that automates software environment checking for scientific artifacts.
|
||||
It is meant to be executed periodically to analyze variations in the software environment of the artifact through time.
|
||||
""",
|
||||
|
||||
install_requires=[
|
||||
"requests",
|
||||
],
|
||||
|
||||
include_package_data=True,
|
||||
)
|
13
flake.nix
13
flake.nix
@ -15,6 +15,17 @@
|
||||
kapkgs = kapack.packages.${system};
|
||||
in
|
||||
{
|
||||
packages = {
|
||||
ecg = pkgs.python3Packages.buildPythonPackage {
|
||||
name = "ecg";
|
||||
version = "0.0.1";
|
||||
src = ./ecg;
|
||||
propagatedBuildInputs = with (pkgs.python3Packages); [
|
||||
requests
|
||||
];
|
||||
doCheck = false;
|
||||
};
|
||||
};
|
||||
devShells = {
|
||||
default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
@ -28,7 +39,7 @@
|
||||
requests
|
||||
kapkgs.execo
|
||||
]))
|
||||
(rWrapper.override { packages = with rPackages; [ tidyverse reshape2 ]; })
|
||||
#(rWrapper.override { packages = with rPackages; [ tidyverse reshape2 ]; })
|
||||
];
|
||||
};
|
||||
latex = pkgs.mkShell {
|
||||
|
Loading…
x
Reference in New Issue
Block a user