mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 00:34:00 +00:00
python310Packages.heatzypy: set version
This commit is contained in:
parent
f103fde3a5
commit
3d69d4cdcc
@ -18,15 +18,21 @@ buildPythonPackage rec {
|
||||
owner = "Cyr-ius";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-4/v0xodpJzVi6/ciW5icqDFGCtBFKtGoMB92CknH9xw=";
|
||||
hash = "sha256-4/v0xodpJzVi6/ciW5icqDFGCtBFKtGoMB92CknH9xw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/Cyr-ius/heatzypy/issues/7
|
||||
substituteInPlace setup.py \
|
||||
--replace 'version="replace_by_workflow"' 'version="${version}"'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
requests
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
Loading…
Reference in New Issue
Block a user