3
0
Fork 0
forked from mirrors/nixpkgs

minisign: use fetchFromGitHub and set meta.platforms

This commit is contained in:
Joachim Fasting 2016-07-16 16:35:51 +02:00
parent 23e27413b3
commit 6d35e0259c
No known key found for this signature in database
GPG key ID: 4330820E1E04DCF4

View file

@ -1,12 +1,14 @@
{ stdenv, fetchurl, cmake, libsodium }:
{ stdenv, fetchFromGitHub, cmake, libsodium }:
stdenv.mkDerivation rec {
name = "minisign-${version}";
version = "0.6";
src = fetchurl {
url = "https://github.com/jedisct1/minisign/archive/${version}.tar.gz";
sha256 = "029g8ian72fy07k73nf451dw1yggav6crjjc2x6kv4nfpq3pl9pj";
src = fetchFromGitHub {
repo = "minisign";
owner = "jedisct1";
rev = version;
sha256 = "1m71ngxaij3q1dw602kjgj22y5xfjlxrrkjdmx1v4p36y0n6wl92";
};
nativeBuildInputs = [ cmake ];
@ -22,5 +24,6 @@ stdenv.mkDerivation rec {
homepage = https://jedisct1.github.io/minisign/;
license = licenses.isc;
maintainers = with maintainers; [ joachifm ];
platforms = platforms.unix;
};
}