chore(piper): use overridePythonAttrs
This commit is contained in:
parent
ef11b36f84
commit
b5bc4a3002
1 changed files with 1 additions and 3 deletions
|
@ -8,12 +8,10 @@
|
|||
|
||||
releaseVer = elemAt (match "^([^']*).*" (elemAt (splitString "version: '" (readFile "${piper-src}/meson.build")) 1)) 0;
|
||||
in
|
||||
piper.overrideAttrs rec {
|
||||
piper.overridePythonAttrs {
|
||||
pname = "piper";
|
||||
version = "${releaseVer}+${piper-src.shortRev}";
|
||||
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = piper-src;
|
||||
|
||||
mesonFlags = [
|
||||
|
|
Loading…
Reference in a new issue