matrix-synapse-saml-mapper: No more keepDotGit
Since the .git folder can change often (it is not considered stable), it avoids random breakage if we just fix the version for setuptools_scm in place.
This commit is contained in:
parent
11b87685c3
commit
3e278c3586
1 changed files with 3 additions and 4 deletions
|
@ -148,9 +148,10 @@ final: prev:
|
||||||
|
|
||||||
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [(
|
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [(
|
||||||
pfinal: pprev: {
|
pfinal: pprev: {
|
||||||
matrix-synapse-saml-mapper = pfinal.buildPythonPackage {
|
matrix-synapse-saml-mapper = pfinal.buildPythonPackage rec {
|
||||||
pname = "matrix-synapse-saml-mapper";
|
pname = "matrix-synapse-saml-mapper";
|
||||||
version = "2020-09-21";
|
version = "2020-09-21";
|
||||||
|
SETUPTOOLS_SCM_PRETEND_VERSION = "0.1+chaos.jetzt.${builtins.substring 0 6 src.rev}.d${builtins.replaceStrings ["-"] [""] version}";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
|
@ -161,13 +162,11 @@ final: prev:
|
||||||
owner = "chaos-jetzt";
|
owner = "chaos-jetzt";
|
||||||
repo = "matrix-synapse-saml-mapper";
|
repo = "matrix-synapse-saml-mapper";
|
||||||
rev = "1aca2bfc73568a1a25d4e63a52b7a8ea9bdb7272";
|
rev = "1aca2bfc73568a1a25d4e63a52b7a8ea9bdb7272";
|
||||||
hash = "sha256-mieJ8ECYr0hiniMHSnEbQAi/W9x1lsAMqV12qHtql5E=";
|
hash = "sha256-s2AQ92VQOXg7lxjWZKsM5h+4IWnsnLRbOC2mAmr1nZo=";
|
||||||
leaveDotGit = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with pfinal; [
|
nativeBuildInputs = with pfinal; [
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
final.git
|
|
||||||
];
|
];
|
||||||
propagatedBuildInputs = with pfinal; [
|
propagatedBuildInputs = with pfinal; [
|
||||||
pysaml2
|
pysaml2
|
||||||
|
|
Loading…
Reference in a new issue