about summary refs log tree commit diff
path: root/pkgs/development/python-modules/enzyme/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/enzyme/default.nix')
-rw-r--r--pkgs/development/python-modules/enzyme/default.nix17
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/enzyme/default.nix b/pkgs/development/python-modules/enzyme/default.nix
index 9e043782585f..5d969858c00f 100644
--- a/pkgs/development/python-modules/enzyme/default.nix
+++ b/pkgs/development/python-modules/enzyme/default.nix
@@ -1,21 +1,28 @@
-{ lib, fetchPypi, buildPythonPackage }:
+{
+  lib,
+  fetchPypi,
+  buildPythonPackage,
+  setuptools,
+}:
 
 buildPythonPackage rec {
   pname = "enzyme";
-  version = "0.4.1";
-  format = "setuptools";
+  version = "0.5.2";
+  pyproject = true;
 
   # Tests rely on files obtained over the network
   doCheck = false;
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "1fv2kh2v4lwj0hhrhj9pib1pdjh01yr4xgyljhx11l94gjlpy5pj";
+    hash = "sha256-fPd5FI2eZusoOGA+rOFAxTw878i4/l1NWgOl+11Xs8E=";
   };
 
+  nativeBuildInputs = [ setuptools ];
+
   meta = with lib; {
     homepage = "https://github.com/Diaoul/enzyme";
-    license = licenses.asl20;
+    license = licenses.mit;
     description = "Python video metadata parser";
   };
 }