summary refs log tree commit diff
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2022-09-11 09:31:32 +0300
committerBjørn Forsman <bjorn.forsman@gmail.com>2022-09-11 16:23:16 +0200
commita1250fe8b2b7f84721735c8462fb9ffe8f123f39 (patch)
tree0ca1164722765fcdebfdb37767f8c5c6ddec37e1
parent11bafe6b5b0645514d310cfc540dbce18bdd6939 (diff)
downloadnixpkgs-a1250fe8b2b7f84721735c8462fb9ffe8f123f39.tar
nixpkgs-a1250fe8b2b7f84721735c8462fb9ffe8f123f39.tar.gz
nixpkgs-a1250fe8b2b7f84721735c8462fb9ffe8f123f39.tar.bz2
nixpkgs-a1250fe8b2b7f84721735c8462fb9ffe8f123f39.tar.lz
nixpkgs-a1250fe8b2b7f84721735c8462fb9ffe8f123f39.tar.xz
nixpkgs-a1250fe8b2b7f84721735c8462fb9ffe8f123f39.tar.zst
nixpkgs-a1250fe8b2b7f84721735c8462fb9ffe8f123f39.zip
virt-manager: 4.0.0 -> 4.1.0
-rw-r--r--pkgs/applications/virtualization/virt-manager/default.nix16
1 files changed, 4 insertions, 12 deletions
diff --git a/pkgs/applications/virtualization/virt-manager/default.nix b/pkgs/applications/virtualization/virt-manager/default.nix
index 65bd4bcecb4..03aba1c4121 100644
--- a/pkgs/applications/virtualization/virt-manager/default.nix
+++ b/pkgs/applications/virtualization/virt-manager/default.nix
@@ -7,13 +7,13 @@
 
 python3.pkgs.buildPythonApplication rec {
   pname = "virt-manager";
-  version = "4.0.0";
+  version = "4.1.0";
 
   src = fetchFromGitHub {
     owner = pname;
     repo = pname;
     rev = "v${version}";
-    hash = "sha256-3ycXNBuf91kI2cJCRw0ZzaWkaIVwb/lmkOKeHNwpH9Y=";
+    hash = "sha256-UgZ58WLXq0U3EDt4311kv0kayVU17In4kwnQ+QN1E7A=";
   };
 
   nativeBuildInputs = [
@@ -33,16 +33,6 @@ python3.pkgs.buildPythonApplication rec {
     pygobject3 libvirt libxml2 requests cdrtools
   ];
 
-   patches = [
-     # due to a recent change in setuptools-61, "packages=[]" needs to be included
-     # this patch can hopefully be removed, once virt-manager has an upstream version bump
-    (fetchpatch {
-      name = "fix-for-setuptools-61.patch";
-      url = "https://github.com/virt-manager/virt-manager/commit/46dc0616308a73d1ce3ccc6d716cf8bbcaac6474.patch";
-      sha256 = "sha256-/RZG+7Pmd7rmxMZf8Fvg09dUggs2MqXZahfRQ5cLcuM=";
-    })
-  ];
-
   postPatch = ''
     sed -i 's|/usr/share/libvirt/cpu_map.xml|${system-libvirt}/share/libvirt/cpu_map.xml|g' virtinst/capabilities.py
     sed -i "/'install_egg_info'/d" setup.py
@@ -80,6 +70,8 @@ python3.pkgs.buildPythonApplication rec {
   disabledTests = [
     "testAlterDisk"
     "test_misc_nonpredicatble_generate"
+    "test_disk_dir_searchable"  # does something strange with permissions
+    "testCLI0001virt_install_many_devices"  # expects /var to exist
   ];
 
   preCheck = ''