f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
31 lines
855 B
Nix
31 lines
855 B
Nix
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
name = "librustzcash-unstable-${version}";
|
|
version = "2017-03-17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zcash";
|
|
repo = "librustzcash";
|
|
rev = "91348647a86201a9482ad4ad68398152dc3d635e";
|
|
sha256 = "02l1f46frpvw1r6k1wfh77mrsnmsdvifqx0vnscxz4xgb9ia9d1c";
|
|
};
|
|
|
|
depsSha256 = "02qx8zdhmj7rmhqqq5q9428x9mlrjxxcnn4yhnygz9gfgvada2hx";
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/lib
|
|
cp target/release/librustzcash.a $out/lib/
|
|
mkdir -p $out/include
|
|
cp include/librustzcash.h $out/include/
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Rust-language assets for Zcash";
|
|
homepage = https://github.com/zcash/librustzcash;
|
|
maintainers = with maintainers; [ rht ];
|
|
license = with licenses; [ mit asl20 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|