trueseeing: refactor
This commit is contained in:
parent
4b0b110a09
commit
46139347fa
@ -6,15 +6,20 @@
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "trueseeing";
|
||||
version = "2.1.9";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alterakey";
|
||||
repo = pname;
|
||||
repo = "trueseeing";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-g5OqdnPtGGV4wBwPRAjH3lweguwlfVcgpNLlq54OHKA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "attrs~=21.4" "attrs>=21.4"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
flit-core
|
||||
];
|
||||
@ -26,15 +31,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||
lxml
|
||||
pypubsub
|
||||
pyyaml
|
||||
docker
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "attrs~=21.4" "attrs>=21.4" \
|
||||
--replace "docker~=5.0.3" "docker"
|
||||
'';
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user