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
, 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";