summary refs log tree commit diff
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
parent6646939ad336e291b2d943bf0e278412d83b7950 (diff)
downloadnixpkgs-f63ed27bb116273ebc2f16f455d9f9fb3a53c780.tar
nixpkgs-f63ed27bb116273ebc2f16f455d9f9fb3a53c780.tar.gz
nixpkgs-f63ed27bb116273ebc2f16f455d9f9fb3a53c780.tar.bz2
nixpkgs-f63ed27bb116273ebc2f16f455d9f9fb3a53c780.tar.lz
nixpkgs-f63ed27bb116273ebc2f16f455d9f9fb3a53c780.tar.xz
nixpkgs-f63ed27bb116273ebc2f16f455d9f9fb3a53c780.tar.zst
nixpkgs-f63ed27bb116273ebc2f16f455d9f9fb3a53c780.zip
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.
-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 dd5ca85e766..88513fc50a3 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;