Loading pkgs/development/python-modules/depyf/default.nix 0 → 100644 +38 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, astor, dill, filelock, }: buildPythonPackage rec { pname = "depyf"; version = "0.18.0"; src = fetchPypi { inherit pname version; hash = "sha256-uZ8MODvpSa5F1dYG/kRMcfN1tVpXuNayDnhWZw1SEw0="; }; # don't try to read git commit postPatch = '' substituteInPlace setup.py \ --replace-fail 'commit_id = get_git_commit_id()' 'commit_id = None' ''; propagatedBuildInputs = [ astor dill filelock ]; pythonImportCheck = [ "depyf" ]; meta = with lib; { description = "Decompile python functions, from bytecode to source code"; homepage = "https://github.com/thuml/depyf"; license = licenses.mit; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -3214,6 +3214,8 @@ self: super: with self; { deprecation-alias = callPackage ../development/python-modules/deprecation-alias { }; depyf = callPackage ../development/python-modules/depyf { }; derpconf = callPackage ../development/python-modules/derpconf { }; desktop-entry-lib = callPackage ../development/python-modules/desktop-entry-lib { }; Loading Loading
pkgs/development/python-modules/depyf/default.nix 0 → 100644 +38 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, astor, dill, filelock, }: buildPythonPackage rec { pname = "depyf"; version = "0.18.0"; src = fetchPypi { inherit pname version; hash = "sha256-uZ8MODvpSa5F1dYG/kRMcfN1tVpXuNayDnhWZw1SEw0="; }; # don't try to read git commit postPatch = '' substituteInPlace setup.py \ --replace-fail 'commit_id = get_git_commit_id()' 'commit_id = None' ''; propagatedBuildInputs = [ astor dill filelock ]; pythonImportCheck = [ "depyf" ]; meta = with lib; { description = "Decompile python functions, from bytecode to source code"; homepage = "https://github.com/thuml/depyf"; license = licenses.mit; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -3214,6 +3214,8 @@ self: super: with self; { deprecation-alias = callPackage ../development/python-modules/deprecation-alias { }; depyf = callPackage ../development/python-modules/depyf { }; derpconf = callPackage ../development/python-modules/derpconf { }; desktop-entry-lib = callPackage ../development/python-modules/desktop-entry-lib { }; Loading