Merge pull request #246739 from michaelgrahamevans/shipments

shipments: use fetchFromSourcehut
This commit is contained in:
Weijia Wang 2023-08-02 17:27:35 +02:00 committed by GitHub
commit 4a49821bd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
{ desktop-file-utils
, fetchurl
, fetchFromSourcehut
, gobject-introspection
, gtk3
, lib
@ -16,9 +16,11 @@ stdenv.mkDerivation rec {
pname = "shipments";
version = "0.3.0";
src = fetchurl {
url = "https://git.sr.ht/~martijnbraam/shipments/archive/${version}.tar.gz";
sha256 = "1znybldx21wjnb8qy6q9p52pi6lfz81743xgrnjmvjji4spwaipf";
src = fetchFromSourcehut {
owner = "~martijnbraam";
repo = "shipments";
rev = version;
hash = "sha256-8wX1s5mPCdMINIQP4m5q5StKqxY6CGBBxIxyQAvU7Pc=";
};
nativeBuildInputs = [