Merge branch 'master' into staging-next

This commit is contained in:
Jan Tojnar
2020-07-20 02:16:21 +02:00
76 changed files with 1671 additions and 2468 deletions

View File

@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "bdf2sfd";
version = "1.1.2";
version = "1.1.3";
src = fetchFromGitHub {
owner = "fcambus";
repo = pname;
rev = version;
sha256 = "1fhdl739a4v8296wpn2390fhlb6vlg9m1zik7mql4l9008ncd5mv";
sha256 = "0v1kkds35qfyv1h5kxc2m7f2gsprg9c7jzpsm3p4f71qn982wry6";
};
nativeBuildInputs = [ cmake ];
@@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
description = "BDF to SFD converter";
homepage = "https://github.com/fcambus/bdf2sfd";
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ dtzWill ];
};
}

View File

@@ -3,7 +3,7 @@
let
version = "4.12";
meta = with stdenv.lib; {
commonMeta = with stdenv.lib; {
description = "Various coreboot-related tools";
homepage = "https://www.coreboot.org";
license = licenses.gpl2;
@@ -12,7 +12,7 @@ let
};
generic = { pname, path ? "util/${pname}", ... }@args: stdenv.mkDerivation (rec {
inherit pname version meta;
inherit pname version;
src = fetchurl {
url = "https://coreboot.org/releases/coreboot-${version}.tar.xz";
@@ -29,7 +29,9 @@ let
"INSTALL=install"
"PREFIX=${placeholder "out"}"
];
} // args);
meta = commonMeta // args.meta;
} // (removeAttrs args ["meta"]));
utils = {
msrtool = generic {
@@ -99,6 +101,7 @@ in utils // {
paths = stdenv.lib.attrValues utils;
postBuild = "rm -rf $out/sbin";
}) // {
inherit meta version;
inherit version;
meta = commonMeta;
};
}

View File

@@ -6,16 +6,16 @@
buildGoModule rec {
pname = "pistol";
version = "0.1.2";
version = "0.1.4";
src = fetchFromGitHub {
owner = "doronbehar";
repo = pname;
rev = "v${version}";
sha256 = "1ar8c7s8ihcwrwfspmqw7cb5560wkbdc5qyvddkx8lj03cjhcslj";
sha256 = "1x9wb0gj5l71xz15ia0i2hrnhcpf457i21w41jzw2ink2fbdxp3b";
};
vendorSha256 = "1mhxb72fzpa2n88i9h154aci346dgcs2njznkjxchivz28crbqr8";
vendorSha256 = "0dg4f9g6895nv3c6d74ijl6hzsyn620ndspbcq7ynvb1z0hsg6iz";
subPackages = [ "cmd/pistol" ];
@@ -23,10 +23,12 @@ buildGoModule rec {
file
];
buildFlagsArray = [ "-ldflags=-s -w -X main.Version=${version}" ];
meta = with stdenv.lib; {
description = "General purpose file previewer designed for Ranger, Lf to make scope.sh redundant";
homepage = "https://github.com/doronbehar/pistol";
license = licenses.mit;
maintainers = with maintainers; [ doronbehar ];
};
}
}