fnc: 0.10 -> 0.12

Install checks are removed, courtesy: https://fnc.bsdbox.org/info/9b191697d6
main
Ashish SHUKLA 2 years ago
parent 2a3aac479c
commit 6afb6d4032
No known key found for this signature in database
GPG Key ID: C746CFA9E74FA4B0
  1. 21
      pkgs/applications/version-management/fnc/default.nix

@ -2,22 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "fnc"; pname = "fnc";
version = "0.10"; version = "0.12";
src = fetchurl { src = fetchurl {
url = "https://fnc.bsdbox.org/tarball/${version}/fnc-${version}.tar.gz"; url = "https://fnc.bsdbox.org/tarball/${version}/fnc-${version}.tar.gz";
sha256 = "1phqxh0afky7q2qmhgjlsq1awbv4254yd8wpzxlww4p7a57cp0lk"; sha256 = "05cg8id4d1ia8y60y3x23167bl1rn2fdpkf1jfj3aklhlihvkbxd";
}; };
patches = [
(fetchpatch {
name = "sqlite3-upgrade.patch";
url = "https://fnc.bsdbox.org/vpatch?from=12e8919d436f52ca&to=091ce838edf67f1d";
sha256 = "sha256-uKSO+lCY6h7Wkv5T7zeagMbpDxj6oirA/bty6i6Py8s=";
})
];
patchFlags = [ "-p0" ];
buildInputs = [ libiconv ncurses zlib ]; buildInputs = [ libiconv ncurses zlib ];
makeFlags = [ "PREFIX=$(out)" ]; makeFlags = [ "PREFIX=$(out)" ];
@ -26,14 +17,6 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin mkdir -p $out/bin
''; '';
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
test "$($out/bin/fnc --version)" = '${pname} ${version}'
runHook postInstallCheck
'';
meta = with lib; { meta = with lib; {
description = "Interactive ncurses browser for Fossil repositories"; description = "Interactive ncurses browser for Fossil repositories";
longDescription = '' longDescription = ''

Loading…
Cancel
Save