9 stdenv.mkDerivation rec {
10 pname = "postiats-utilities";
12 src = fetchFromGitHub {
14 repo = "PostiATS-Utilities";
16 sha256 = "sha256-QeBbv5lwqL2ARjB+RGyBHeuibaxugffBLhC9lYs+5tE=";
20 homepage = "https://github.com/Hibou57/PostiATS-Utilities";
21 license = licenses.bsd2;
22 platforms = platforms.linux;
23 maintainers = [ maintainers.ttuegel ];
28 python3Packages.wrapPython
32 for f in pats-* postiats/*.py; do
33 sed -i "$f" -e "1 s,python3,python,"
38 libdir="$out/${python3.sitePackages}"
40 cp -r postiats "$libdir"
43 install pats-* "$out/bin"