nixpkgs/pkgs/development/tools/scaff/default.nix

27 lines
648 B
Nix
Raw Normal View History

{ lib, rustPlatform, fetchFromGitLab, pkg-config, openssl }:
2019-10-27 16:21:21 +00:00
rustPlatform.buildRustPackage rec {
pname = "scaff";
2020-03-05 06:15:47 +00:00
version = "0.1.2";
2019-10-27 16:21:21 +00:00
src = fetchFromGitLab {
owner = "jD91mZM2";
repo = pname;
rev = version;
2020-03-05 06:15:47 +00:00
sha256 = "01yf2clf156qv2a6w866a2p8rc2dl8innxnsqrj244x54s1pk27r";
2019-10-27 16:21:21 +00:00
};
2020-03-05 06:15:47 +00:00
cargoSha256 = "1v6580mj70d7cqbjw32slz65lg6c8ficq5mdkfbivs63hqkv4hgx";
2019-10-27 16:21:21 +00:00
nativeBuildInputs = [ pkg-config ];
2019-10-27 16:21:21 +00:00
buildInputs = [ openssl ];
meta = with lib; {
description = "Painless and powerful scaffolding of projects";
license = licenses.mit;
maintainers = with maintainers; [ jD91mZM2 ];
platforms = platforms.unix;
};
}