Merge branch 'master' into staging-next
https://github.com/NixOS/nixpkgs/commit/b04fc593e7b55fe1f74421b11589f12a339c92e2 seems to have accidentally changed mkDerivation function for dfilemanager and solarus-quest-editor so I have reverted that here.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{ stdenv, fetchFromGitHub, zlib, flex, bison, readline }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "foma";
|
||||
version = "0.9.18alpha";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mhulden";
|
||||
repo = "foma";
|
||||
rev = "4456a40e81f46e3fe909c5a97a15fcf1d2a3b6c1";
|
||||
sha256 = "188yxj8wahlj2yf93rj1vx549j5cq0085d2jmj3vwzbfjq1mi1f0";
|
||||
};
|
||||
|
||||
sourceRoot = "source/foma";
|
||||
|
||||
nativeBuildInputs = [ flex bison ];
|
||||
buildInputs = [ zlib readline ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace '-ltermcap' ' ' \
|
||||
--replace '/usr/local' '$(out)'
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A multi-purpose finite-state toolkit designed for applications ranging from natural language processing to research in automata theory";
|
||||
homepage = "https://github.com/mhulden/foma";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.tckmn ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -1,20 +1,28 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, writeText, runtimeShell, ncurses, perl }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, writeText, runtimeShell, ncurses, perl, fetchpatch }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "fzf";
|
||||
version = "0.24.4";
|
||||
version = "0.25.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "junegunn";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "17k32wr70sp7ag69xww2q9mrgnzakgkjw6la04n3jlhfa5z37dzj";
|
||||
sha256 = "1j5bfxl4w8w3n89p051y8dhxg0py9l98v7r2gkr63bg4lj32faz8";
|
||||
};
|
||||
|
||||
vendorSha256 = "0dd0qm1fxp3jnlrhfaas8fw87cj7rygaac35a9nk3xh2xsk7q35p";
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
patches = [
|
||||
# Fix test failure on go 1.15
|
||||
(fetchpatch {
|
||||
url = "https://github.com/junegunn/fzf/commit/82791f7efccde5b30da0b4d44f10d214ae5c0c0d.patch";
|
||||
sha256 = "1nybsz09h8cnvxjnkmx9c52g8z0x6pvrn230hw1va5a3pvmg01z1";
|
||||
})
|
||||
];
|
||||
|
||||
fishHook = writeText "load-fzf-keybindings.fish" "fzf_key_bindings";
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
@@ -24,7 +32,7 @@ buildGoModule rec {
|
||||
];
|
||||
|
||||
# The vim plugin expects a relative path to the binary; patch it to abspath.
|
||||
patchPhase = ''
|
||||
postPatch = ''
|
||||
sed -i -e "s|expand('<sfile>:h:h')|'$out'|" plugin/fzf.vim
|
||||
|
||||
if ! grep -q $out plugin/fzf.vim; then
|
||||
|
||||
@@ -8,16 +8,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "miniserve";
|
||||
version = "0.10.3";
|
||||
version = "0.10.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "svenstaro";
|
||||
repo = "miniserve";
|
||||
rev = "v${version}";
|
||||
sha256 = "17m0h0ib7fl0kijagcwdcnvrdcb6z3knix9dl17abg5ivbvkwz8q";
|
||||
sha256 = "0hskb72gnp66vkyxsqnxhjcqgvjj7wbd2nm5wxp94abc5l1fiigv";
|
||||
};
|
||||
|
||||
cargoSha256 = "0ddc8b9wph4r1qcy24p8yiaq9s2knii0d7dh0w0qnzrn6cmm17dg";
|
||||
cargoSha256 = "0s1gdngpf6gxz2lyapblxxmc6aydg2i9kmrfvngkbmqh4as1a2vl";
|
||||
|
||||
nativeBuildInputs = [ pkg-config zlib ];
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://sjeng.org/vorbisgain.html";
|
||||
description = "A utility that corrects the volume of an Ogg Vorbis file to a predefined standardized loudness";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -63,6 +63,6 @@ buildPythonPackage rec {
|
||||
'';
|
||||
license = licenses.publicDomain;
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
maintainers = with maintainers; [ bluescreen303 phreedom AndersonTorres fpletz enzime ma27 zowoq ];
|
||||
maintainers = with maintainers; [ bluescreen303 phreedom AndersonTorres fpletz ma27 zowoq ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -6,15 +6,16 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ytree";
|
||||
version = "2.02";
|
||||
version = "2.03";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://han.de/~werner/${pname}-${version}.tar.gz";
|
||||
sha256 = "1v70l244rc22f20gac1zha1smrhqkag45jn0iwgcyngfdfml3gz5";
|
||||
sha256 = "sha256-WDqnFVLRNH4Oq+OaI2+loXS/Z93piHGFO5/iojO8rvE=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
ncurses readline
|
||||
ncurses
|
||||
readline
|
||||
];
|
||||
|
||||
# don't save timestamp, in order to improve reproducibility
|
||||
|
||||
Reference in New Issue
Block a user