Merge pull request #185128 from DamienCassou/offpunk-1.5
Offpunk: 1.4 -> 1.5
This commit is contained in:
commit
587c265020
1 changed files with 5 additions and 4 deletions
|
@ -5,8 +5,8 @@
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
offpunk,
|
offpunk,
|
||||||
python3,
|
python3,
|
||||||
ripgrep,
|
|
||||||
stdenv,
|
stdenv,
|
||||||
|
testVersion,
|
||||||
timg,
|
timg,
|
||||||
xdg-utils,
|
xdg-utils,
|
||||||
xsel,
|
xsel,
|
||||||
|
@ -24,7 +24,6 @@ let
|
||||||
];
|
];
|
||||||
otherDependencies = [
|
otherDependencies = [
|
||||||
less
|
less
|
||||||
ripgrep
|
|
||||||
timg
|
timg
|
||||||
xdg-utils
|
xdg-utils
|
||||||
xsel
|
xsel
|
||||||
|
@ -32,14 +31,14 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "offpunk";
|
pname = "offpunk";
|
||||||
version = "1.4";
|
version = "1.5";
|
||||||
|
|
||||||
src = fetchFromGitea {
|
src = fetchFromGitea {
|
||||||
domain = "notabug.org";
|
domain = "notabug.org";
|
||||||
owner = "ploum";
|
owner = "ploum";
|
||||||
repo = "offpunk";
|
repo = "offpunk";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
sha256 = "04dzkzsan1cnrslsvfgn1whpwald8xy34wqzvq81hd2mvw9a2n69";
|
sha256 = "1zg13wajsfrl3hli6sihn47db08w037jjq9vgr6m5sjh8r1jb9iy";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ makeWrapper ] ++ otherDependencies ++ pythonDependencies;
|
buildInputs = [ makeWrapper ] ++ otherDependencies ++ pythonDependencies;
|
||||||
|
@ -56,6 +55,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests.version = testVersion { package = offpunk; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An Offline-First browser for the smolnet ";
|
description = "An Offline-First browser for the smolnet ";
|
||||||
homepage = "https://notabug.org/ploum/offpunk";
|
homepage = "https://notabug.org/ploum/offpunk";
|
||||||
|
|
Loading…
Reference in a new issue