versioning (WIP)

This commit is contained in:
2025-12-15 23:46:47 +03:00
parent a5d6503305
commit cd817446b0
3 changed files with 11 additions and 9 deletions

View File

@@ -16,18 +16,13 @@
zlib,
bzip2,
wayland-scanner,
semver
}:
stdenv.mkDerivation rec {
pname = "clrsync";
baseVersion = "0.1.4";
version =
if src ? rev then
"${baseVersion}+${toString src.revCount}.git.${lib.substring 0 7 src.rev}"
else
baseVersion;
version = semver;
src = lib.cleanSourceWith {
src = ./.;