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