NUR/pkgs/example-package/default.nix

10 lines
198 B
Nix

{ stdenv }:
stdenv.mkDerivation rec {
name = "example-package-${version}";
version = "1.0";
buildPhase = "echo echo Hello World > example";
installPhase = "install -Dm755 example $out";
}