python310Packages.enaml: 0.14.1 -> 0.15.0

This is the first version using setuptools-scm. Because we don't keep
enough git metadata to determine the version, we use
SETUPTOOLS_SCM_PRETEND_VERSION instead.

https://github.com/NixOS/nixpkgs/issues/41136
This commit is contained in:
R. Ryantm 2022-04-18 09:32:32 +00:00 committed by Arnout Engelen
parent fad2f3353c
commit eb862d7d4f
No known key found for this signature in database
GPG key ID: 061107B0F74A6DAA

View file

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