13 lines
290 B
Nix
13 lines
290 B
Nix
|
{ toolchain, makeRustPlatform, pkg-config }:
|
||
|
|
||
|
let rustPlatform = makeRustPlatform { inherit (toolchain) cargo rustc; };
|
||
|
|
||
|
in rustPlatform.buildRustPackage {
|
||
|
name = "asciinema";
|
||
|
src = ./.;
|
||
|
cargoLock.lockFile = ./Cargo.lock;
|
||
|
|
||
|
nativeBuildInputs = [ pkg-config ];
|
||
|
buildInputs = [ ];
|
||
|
}
|