add Nix build file

This commit is contained in:
Sebastien Bourdeauducq 2023-02-10 18:15:03 +08:00
parent 7c97342e53
commit 1ab522f02b

7
default.nix Normal file
View File

@ -0,0 +1,7 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.stdenv.mkDerivation {
pname = "labelprinter";
version = "1.0";
buildInputs = [ pkgs.pkgconfig pkgs.libusb ];
src = ./.;
};