mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
minisign: use fetchFromGitHub and set meta.platforms
This commit is contained in:
parent
23e27413b3
commit
6d35e0259c
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user