2024-08-02 22:32:29 -04:00
|
|
|
{
|
2024-08-04 13:52:41 -04:00
|
|
|
lib,
|
2024-08-02 22:32:29 -04:00
|
|
|
piper-src,
|
2024-08-04 13:52:41 -04:00
|
|
|
piper,
|
2024-08-02 22:32:29 -04:00
|
|
|
...
|
2024-08-04 13:52:41 -04:00
|
|
|
}: let
|
|
|
|
inherit (lib) elemAt match readFile splitString;
|
|
|
|
|
|
|
|
releaseVer = elemAt (match "^([^']*).*" (elemAt (splitString "version: '" (readFile "${piper-src}/meson.build")) 1)) 0;
|
|
|
|
in
|
2024-11-21 12:19:00 -05:00
|
|
|
piper.overridePythonAttrs {
|
2024-08-04 13:52:41 -04:00
|
|
|
pname = "piper";
|
|
|
|
version = "${releaseVer}+${piper-src.shortRev}";
|
|
|
|
|
|
|
|
src = piper-src;
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Druntime-dependency-checks=false"
|
|
|
|
];
|
|
|
|
}
|