chore(piper): use overridePythonAttrs

This commit is contained in:
matt1432 2024-11-21 12:19:00 -05:00
parent ef11b36f84
commit b5bc4a3002

View file

@ -8,12 +8,10 @@
releaseVer = elemAt (match "^([^']*).*" (elemAt (splitString "version: '" (readFile "${piper-src}/meson.build")) 1)) 0; releaseVer = elemAt (match "^([^']*).*" (elemAt (splitString "version: '" (readFile "${piper-src}/meson.build")) 1)) 0;
in in
piper.overrideAttrs rec { piper.overridePythonAttrs {
pname = "piper"; pname = "piper";
version = "${releaseVer}+${piper-src.shortRev}"; version = "${releaseVer}+${piper-src.shortRev}";
name = "${pname}-${version}";
src = piper-src; src = piper-src;
mesonFlags = [ mesonFlags = [