mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
zathura: always use pname and version and 1 url for all projects
This commit is contained in:
parent
aeead88261
commit
f620961990
6 changed files with 14 additions and 20 deletions
|
@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
|
|||
version = "0.1.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pwmt.org/projects/zathura/plugins/download/${pname}-${version}.tar.xz";
|
||||
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
|
||||
sha256 = "1i6cf0vks501cggwvfsl6qb7mdaf3sszdymphimfvnspw810faj5";
|
||||
};
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
|
|||
version = "0.4.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://git.pwmt.org/pwmt/zathura/-/archive/${version}/zathura-${version}.tar.gz";
|
||||
sha256 = "1khs1snwjclgl12ykagvbdpv7sw1lf7mmws8902hf899za7wfrwl";
|
||||
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
|
||||
sha256 = "0b3nrcvykkpv2vm99kijnic2gpfzva520bsjlihaxandzfm9ff8c";
|
||||
};
|
||||
|
||||
outputs = [ "bin" "man" "dev" "out" ];
|
||||
|
|
|
@ -5,8 +5,8 @@ stdenv.mkDerivation rec {
|
|||
version = "0.2.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pwmt.org/projects/zathura/plugins/download/${name}.tar.xz";
|
||||
sha256 = "0kl7k4lq97m80gninwm84l7cl2jpkpki59mhy2326xgshc9w0wqd";
|
||||
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
|
||||
sha256 = "0062n236414db7q7pnn3ccg5111ghxj3407pn9ri08skxskgirln";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig ];
|
||||
|
|
|
@ -1,20 +1,13 @@
|
|||
{ stdenv, lib, meson, ninja, fetchFromGitHub
|
||||
{ stdenv, lib, meson, ninja, fetchurl
|
||||
, pkgconfig, zathura_core, cairo , gtk-mac-integration, girara, mupdf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.3.5";
|
||||
pname = "zathura-pdf-mupdf";
|
||||
|
||||
# pwmt.org server was down at the time of last update
|
||||
# src = fetchurl {
|
||||
# url = "https://pwmt.org/projects/zathura-pdf-mupdf/download/${name}.tar.xz";
|
||||
# sha256 = "1zbaqimav4wfgimpy3nfzl10qj7vyv23rdy2z5z7z93jwbp2rc2j";
|
||||
# };
|
||||
src = fetchFromGitHub {
|
||||
owner = "pwmt";
|
||||
repo = "zathura-pdf-mupdf";
|
||||
rev = version;
|
||||
sha256 = "0wb46hllykbi30ir69s8s23mihivqn13mgfdzawbsn2a21p8y4zl";
|
||||
src = fetchurl {
|
||||
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
|
||||
sha256 = "1pjwsb7zwclxsvz229fl7y2saf1pv3ifwv3ay8viqxgrp9x3z9hq";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig ];
|
||||
|
|
|
@ -5,8 +5,8 @@ stdenv.mkDerivation rec {
|
|||
version = "0.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://git.pwmt.org/pwmt/zathura-pdf-poppler/-/archive/${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "133xxh82x37v0ihwk5g2hih1xlzm76kkayifdjn15xqf14gp6axs";
|
||||
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
|
||||
sha256 = "1vfl4vkyy3rf39r1sqaa7y8113bgkh2bkfq3nn2inis9mrykmk6m";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig zathura_core ];
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ stdenv, lib, fetchurl, meson, ninja, pkgconfig, zathura_core, girara, libspectre, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "zathura-ps-0.2.6";
|
||||
pname = "zathura-ps";
|
||||
version = "0.2.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pwmt.org/projects/zathura/plugins/download/${name}.tar.xz";
|
||||
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
|
||||
sha256 = "0wygq89nyjrjnsq7vbpidqdsirjm6iq4w2rijzwpk2f83ys8bc3y";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue