forked from mirrors/nixpkgs
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
27 lines
648 B
Nix
27 lines
648 B
Nix
{ lib, rustPlatform, fetchFromGitLab, pkg-config, openssl }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "scaff";
|
|
version = "0.1.2";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "jD91mZM2";
|
|
repo = pname;
|
|
rev = version;
|
|
|
|
sha256 = "01yf2clf156qv2a6w866a2p8rc2dl8innxnsqrj244x54s1pk27r";
|
|
};
|
|
|
|
cargoSha256 = "1v6580mj70d7cqbjw32slz65lg6c8ficq5mdkfbivs63hqkv4hgx";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ openssl ];
|
|
|
|
meta = with lib; {
|
|
description = "Painless and powerful scaffolding of projects";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jD91mZM2 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|