nur/pkgs/example-package/default.nix

11 lines
211 B
Nix
Raw Normal View History

{ stdenv }:
stdenv.mkDerivation rec {
name = "example-package-${version}";
version = "1.0";
2018-07-16 12:54:24 +00:00
src = ./.;
buildPhase = "echo echo Hello World > example";
installPhase = "install -Dm755 example $out";
}