mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
mutmut: 2.2.0 -> 3.2.0
With dependencies from the upstream requirements file <https://github.com/boxed/mutmut/blob/3.2.0/requirements.txt>.
This commit is contained in:
parent
cd6b4e2606
commit
4b610f43ae
@ -236,6 +236,8 @@
|
||||
|
||||
- `knot-dns` has been updated to version 3.4.x. Check the [migration guide](https://www.knot-dns.cz/docs/latest/html/migration.html#upgrade-3-3-x-to-3-4-x) for breaking changes.
|
||||
|
||||
- `mutmut` has been updated to version 3.0.5.
|
||||
|
||||
- `services.kubernetes.kubelet.clusterDns` now accepts a list of DNS resolvers rather than a single string, bringing the module more in line with the upstream Kubelet configuration schema.
|
||||
|
||||
- `bluemap` has changed the format used to store map tiles, and the database layout has been heavily modified. Upstream recommends a clean reinstallation: <https://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v5.2>. Unless you are using an SQL storage backend, this should only entail deleting the contents of `config.services.bluemap.coreSettings.data` (defaults to `/var/lib/bluemap`) and `config.services.bluemap.webRoot` (defaults to `/var/lib/bluemap/web`).
|
||||
|
@ -1,23 +1,22 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
mutmut,
|
||||
python3Packages,
|
||||
testers,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "mutmut";
|
||||
version = "2.2.0";
|
||||
version = "3.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = pname;
|
||||
owner = "boxed";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-G+OL/9km2iUeZ1QCpU73CIWVWMexcs3r9RdCnAsESnY=";
|
||||
hash = "sha256-+e2FmfpGtK401IW8LNqeHk0v8Hh5rF3LbZJkSOJ3yPY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt --replace 'junit-xml==1.8' 'junit-xml==1.9'
|
||||
substituteInPlace requirements.txt --replace-fail 'junit-xml==1.8' 'junit-xml==1.9'
|
||||
'';
|
||||
|
||||
disabled = python3Packages.pythonOlder "3.7";
|
||||
@ -26,14 +25,12 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
click
|
||||
glob2
|
||||
parso
|
||||
pony
|
||||
junit-xml
|
||||
setproctitle
|
||||
textual
|
||||
];
|
||||
|
||||
passthru.tests.version = testers.testVersion { package = mutmut; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "mutation testing system for Python, with a strong focus on ease of use";
|
||||
mainProgram = "mutmut";
|
||||
|
Loading…
Reference in New Issue
Block a user