depot/third_party/nixpkgs/pkgs/tools/misc/pouf/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

29 lines
712 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "pouf";
version = "0.4.3";
src = fetchFromGitHub {
owner = "mothsart";
repo = pname;
rev = version;
sha256 = "1dgk2g13hz64vdx9sqkixl0321cnfnhrm7hxp68vwfcfx3gvfjv8";
};
cargoSha256 = "0ipyc9l9kr7izh3dmvczq1i7al56yiaz20yaarz8bpsfcrmgwy3s";
postInstall = "make PREFIX=$out copy-data";
meta = with lib; {
description = "A cli program for produce fake datas.";
homepage = "https://github.com/mothsart/pouf";
changelog = "https://github.com/mothsart/pouf/releases/tag/${version}";
maintainers = with maintainers; [ mothsart ];
license = with licenses; [ mit ];
};
}