diff --git a/pkgs/development/python-modules/enaml/default.nix b/pkgs/development/python-modules/enaml/default.nix index 9e6a910b2ba9..ccd8bb497d10 100644 --- a/pkgs/development/python-modules/enaml/default.nix +++ b/pkgs/development/python-modules/enaml/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, setuptools-scm , atom , ply , kiwisolver @@ -12,13 +13,13 @@ buildPythonPackage rec { pname = "enaml"; - version = "0.14.1"; + version = "0.15.0"; src = fetchFromGitHub { owner = "nucleic"; repo = pname; - rev = version; - sha256 = "sha256-QfI7cwl2c5HOlFNNdG+oOv48X9jJZnZNU/kWgutWe6k="; + rev = "refs/tags/${version}"; + sha256 = "sha256-xSMgT8VooDS5kvf4BCcVbv/MNfRDTVnPKU3Ou+/Gq7I="; }; # qt bindings cannot be found during tests @@ -39,6 +40,7 @@ buildPythonPackage rec { "enaml.workbench" ]; + nativeBuildInputs = [ setuptools-scm ]; propagatedBuildInputs = [ atom ply @@ -48,6 +50,7 @@ buildPythonPackage rec { cppy bytecode ]; + SETUPTOOLS_SCM_PRETEND_VERSION = version; meta = with lib; { homepage = "https://github.com/nucleic/enaml";