taskwarrior3: 3.0.2 -> 3.1.0

This commit is contained in:
aktaboot 2024-07-31 22:28:53 +02:00 committed by Donovan Glover
parent 88b35f7000
commit 1f620252b7
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -15,12 +15,12 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "taskwarrior"; pname = "taskwarrior";
version = "3.0.2"; version = "3.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "GothenburgBitFactory"; owner = "GothenburgBitFactory";
repo = "taskwarrior"; repo = "taskwarrior";
rev = "v3.0.2"; rev = "v${version}";
hash = "sha256-vN3X6vLuD4Fw9wpEUYLf8sboA5GIcdP5EFb41KS6d5s="; hash = "sha256-iKpOExj1xM9rU/rIcOLLKMrZrAfz7y9X2kt2CjfMOOQ=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
@ -45,16 +45,13 @@ stdenv.mkDerivation rec {
]; ];
doCheck = true; doCheck = true;
preCheck = '' checkTarget = "build_tests";
patchShebangs --build test
'';
checkTarget = "test";
cargoDeps = rustPlatform.fetchCargoTarball { cargoDeps = rustPlatform.fetchCargoTarball {
name = "${pname}-${version}-cargo-deps"; name = "${pname}-${version}-cargo-deps";
inherit src; inherit src;
sourceRoot = src.name; sourceRoot = src.name;
hash = "sha256-4hdM9LgDa47ZYcX30HXvixIRy0xaahG4XBqPiUM+IUM="; hash = "sha256-L+hYYKXSOG4XYdexLMG3wdA7st+A9Wk9muzipSNjxrA=";
}; };
cargoRoot = "./"; cargoRoot = "./";
preConfigure = '' preConfigure = ''