infrastructure/pkgs/akiflags/default.nix
2021-07-24 05:57:01 +01:00

14 lines
354 B
Nix

{ lib, stdenv, fetchurl, python36, pythonPackages, installShellFiles }:
stdenv.mkDerivation {
name = "akiflags";
buildInputs = [
(python36.withPackages (pythonPackages: with pythonPackages; [ ]))
];
unpackPhase = "true";
installPhase = ''
mkdir -p $out/bin
cp ${./flags.py} $out/bin/akiflags
chmod +x $out/bin/akiflags
'';
}