about summary refs log tree commit diff
path: root/pkgs/applications/video/catt
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-03-03 02:50:57 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-03-03 23:59:30 +0100
commitf63ed27bb116273ebc2f16f455d9f9fb3a53c780 (patch)
tree9f34dfcb6a82247a9a91b142cae43a5450c74cf6 /pkgs/applications/video/catt
parent6646939ad336e291b2d943bf0e278412d83b7950 (diff)
catt: Use hash and SRI hashes
With the python package set moving to hash, overriding the fetcher and
reintroducing sha256 breaks eval, due to multiple hashes passed.

Also set an explicit format in buildPythonApplication.
Diffstat (limited to 'pkgs/applications/video/catt')
-rw-r--r--pkgs/applications/video/catt/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/video/catt/default.nix b/pkgs/applications/video/catt/default.nix
index dd5ca85e76627..88513fc50a395 100644
--- a/pkgs/applications/video/catt/default.nix
+++ b/pkgs/applications/video/catt/default.nix
@@ -21,7 +21,7 @@ let
         version = "7.1.2";
         src = oldAttrs.src.override {
           inherit version;
-          sha256 = "06kbzd6sjfkqan3miwj9wqyddfxc2b6hi7p5s4dvqjb3gif2bdfj";
+          hash = "sha256-0rUlXHxjSbwb0eWeCM0SrLvWPOZJ8liHVXg6qU37axo=";
         };
       });
 
@@ -40,6 +40,7 @@ with py.pkgs;
 buildPythonApplication rec {
   pname = "catt";
   version = "0.12.7";
+  format = "setuptools";
 
   src = fetchPypi {
     inherit pname version;