diff --git a/pkgs/development/python-modules/enzyme/default.nix b/pkgs/development/python-modules/enzyme/default.nix new file mode 100644 index 000000000000..60c92fe76fb2 --- /dev/null +++ b/pkgs/development/python-modules/enzyme/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchPypi, buildPythonPackage }: + +buildPythonPackage rec { + name = "${pname}-${version}"; + pname = "enzyme"; + version = "0.4.1"; + + # Tests rely on files obtained over the network + doCheck = false; + + src = fetchPypi { + inherit pname version; + sha256 = "1fv2kh2v4lwj0hhrhj9pib1pdjh01yr4xgyljhx11l94gjlpy5pj"; + }; + + meta = { + homepage = https://github.com/Diaoul/enzyme; + license = with stdenv.lib; licenses.asl20; + description = "Python video metadata parser"; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index dad25ef479c9..97242e9e9f97 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6463,6 +6463,8 @@ in { propagatedBuildInputs = with self; [ configparser ]; }; + enzyme = callPackage ../development/python-modules/enzyme {}; + escapism = buildPythonPackage rec { name = "escapism-${version}"; version = "0.0.1";