Merge pull request #123662 from chivay/bump-karton-asciimagic

pythonPackages.karton-asciimagic: 1.0.0 -> 1.0.1
This commit is contained in:
Fabian Affolter 2021-05-19 14:16:18 +02:00 committed by GitHub
commit 38646ec80d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,24 +7,19 @@
buildPythonPackage rec {
pname = "karton-asciimagic";
version = "1.0.0";
version = "1.0.1";
src = fetchFromGitHub {
owner = "CERT-Polska";
repo = pname;
rev = "v${version}";
sha256 = "0yvd0plpwy5qkd2jljpd6wm6dlj2g8csvj1q2md23vsgx7h7v2vm";
sha256 = "0d15fhb3y0jpwdfm4y11i6pmfa9szr943cm6slvf0ir31f9nznyz";
};
propagatedBuildInputs = [
karton-core
];
postPatch = ''
substituteInPlace requirements.txt \
--replace "karton.core==4.0.5" "karton-core"
'';
checkPhase = ''
runHook preCheck
${python.interpreter} -m unittest discover