Merge pull request #77975 from sjmackenzie/amp

amp: git rev 2c88e8 (2019-06-09) -> 0.6.1
This commit is contained in:
adisbladis 2020-02-12 23:08:28 +13:00 committed by GitHub
commit 8a253006e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,17 +3,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "amp"; pname = "amp";
# The latest release (0.5.2) does not compile, so we use a git snapshot instead. version = "0.6.1";
version = "unstable-2019-06-09";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jmacdonald"; owner = "jmacdonald";
repo = pname; repo = pname;
rev = "2c88e82a88ada8a5fd2620ef225192395a4533a2"; rev = version;
sha256 = "0ha1xiabq31s687gkrnszf3zc7b3sfdl79iyg5ygbc49mzvarp8c"; sha256 = "0jhxyl27nwp7rp0lc3kic69g8x55d0azrwlwwhz3z74icqa8f03j";
}; };
cargoSha256 = "1bvj2zg19ak4vi47vjkqlybz011kn5zq1j7zznr76zrryacw4lz1"; cargoSha256 = "0rk5c8knx8swqzmj7wd18hq2h5ndkzvcbq4lzggpavkk01a8hlb1";
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ openssl python3 xorg.libxcb libgit2 ] ++ stdenv.lib.optionals stdenv.isDarwin buildInputs = [ openssl python3 xorg.libxcb libgit2 ] ++ stdenv.lib.optionals stdenv.isDarwin