gnome3.totem-pl-parser: move src to a separate file

This commit is contained in:
Jan Tojnar 2017-10-05 00:41:27 +02:00
parent 9ee18a51c6
commit 1e8e2a4f0d
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 11 additions and 6 deletions

View File

@ -1,12 +1,7 @@
{ stdenv, fetchurl, pkgconfig, file, intltool, gmime, libxml2, libsoup, gnome3 }:
stdenv.mkDerivation rec {
name = "totem-pl-parser-3.10.2";
src = fetchurl {
url = "mirror://gnome/sources/totem-pl-parser/3.10/${name}.tar.xz";
sha256 = "38be09bddc46ddecd2b5ed7c82144ef52aafe879a5ec3d8b192b4b64ba995469";
};
inherit (import ./src.nix fetchurl) name src;
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ file intltool gmime libxml2 libsoup ];

View File

@ -0,0 +1,10 @@
# Autogenerated by maintainers/scripts/gnome.sh update
fetchurl: {
name = "totem-pl-parser-3.10.2";
src = fetchurl {
url = mirror://gnome/sources/totem-pl-parser/3.10/totem-pl-parser-3.10.2.tar.xz;
sha256 = "38be09bddc46ddecd2b5ed7c82144ef52aafe879a5ec3d8b192b4b64ba995469";
};
}