diff --git a/pkgs/development/python-modules/pyelftools/default.nix b/pkgs/development/python-modules/pyelftools/default.nix index 5686a6ffadb2..258c97a3c112 100644 --- a/pkgs/development/python-modules/pyelftools/default.nix +++ b/pkgs/development/python-modules/pyelftools/default.nix @@ -1,18 +1,19 @@ -{ lib, stdenv +{ lib , buildPythonPackage , fetchFromGitHub , python +, stdenv }: buildPythonPackage rec { pname = "pyelftools"; - version = "unstable-2020-09-23"; + version = "0.27"; src = fetchFromGitHub { owner = "eliben"; repo = pname; - rev = "ab84e68837113b2d700ad379d94c1dd4a73125ea"; - sha256 = "sha256-O7l1kj0k8bOSOtZJVzS674oVnM+X3oP00Ybs0qjb64Q="; + rev = "v${version}"; + sha256 = "09igdym2qj2fvfcazbz25qybmgz7ccrn25xn3havfkdkka0z0i3p"; }; doCheck = stdenv.is64bit && !stdenv.isDarwin; @@ -25,10 +26,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "elftools" ]; meta = with lib; { - description = "A library for analyzing ELF files and DWARF debugging information"; + description = "Python library for analyzing ELF files and DWARF debugging information"; homepage = "https://github.com/eliben/pyelftools"; license = licenses.publicDomain; maintainers = with maintainers; [ igsha pamplemousse ]; }; - }