tools/filesystems: replace name with pname&version

This commit is contained in:
Felix Buehler 2021-08-12 20:49:29 +02:00
parent 6dfd25fdc4
commit 80e75cd535
12 changed files with 40 additions and 29 deletions

View File

@ -1,7 +1,8 @@
{ lib, stdenv, fetchFromGitHub, fuse }:
stdenv.mkDerivation {
name = "9pfs-20150918";
pname = "9pfs";
version = "unstable-2015-09-18";
src = fetchFromGitHub {
owner = "mischief";

View File

@ -1,10 +1,11 @@
{ lib, stdenv, fetchurl, fetchpatch, fuse }:
stdenv.mkDerivation rec {
name = "aefs-0.4pre259-8843b7c";
pname = "aefs";
version = "0.4pre259-8843b7c";
src = fetchurl {
url = "http://tarballs.nixos.org/${name}.tar.bz2";
url = "http://tarballs.nixos.org/aefs-${version}.tar.bz2";
sha256 = "167hp58hmgdavg2mqn5dx1xgq24v08n8d6psf33jhbdabzx6a6zq";
};

View File

@ -1,13 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, fuse, libarchive }:
let
name = "archivemount-0.9.1";
in
stdenv.mkDerivation {
inherit name;
stdenv.mkDerivation rec {
pname = "archivemount";
version = "0.9.1";
src = fetchurl {
url = "https://www.cybernoia.de/software/archivemount/${name}.tar.gz";
url = "https://www.cybernoia.de/software/archivemount/archivemount-${version}.tar.gz";
sha256 = "1cy5b6qril9c3ry6fv7ir87s8iyy5vxxmbyx90dm86fbra0vjaf5";
};

View File

@ -1,9 +1,11 @@
{ lib, stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
name = "bonnie++-1.98";
pname = "bonnie++";
version = "1.98";
src = fetchurl {
url = "https://www.coker.com.au/bonnie++/${name}.tgz";
url = "https://www.coker.com.au/bonnie++/bonnie++-${version}.tgz";
sha256 = "010bmlmi0nrlp3aq7p624sfaj5a65lswnyyxk3cnz1bqig0cn2vf";
};

View File

@ -1,10 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, fuse, glib, attr }:
stdenv.mkDerivation rec {
name = "ciopfs-0.4";
pname = "ciopfs";
version = "0.4";
src = fetchurl {
url = "http://www.brain-dump.org/projects/ciopfs/${name}.tar.gz";
url = "http://www.brain-dump.org/projects/ciopfs/ciopfs-${version}.tar.gz";
sha256 = "0sr9i9b3qfwbfvzvk00yrrg3x2xqk1njadbldkvn7hwwa4z5bm9l";
};

View File

@ -9,10 +9,11 @@
}:
stdenv.mkDerivation rec {
name = "davfs2-1.6.0";
pname = "davfs2";
version = "1.6.0";
src = fetchurl {
url = "mirror://savannah/davfs2/${name}.tar.gz";
url = "mirror://savannah/davfs2/davfs2-${version}.tar.gz";
sha256 = "sha256-LmtnVoW9kXdyvmDwmZrgmMgPef8g3BMej+xFR8u2O1A=";
};

View File

@ -2,10 +2,12 @@
throw "It still does not build"
stdenv.mkDerivation {
name = "fsfs-0.1.1";
stdenv.mkDerivation rec {
pname = "fsfs";
version = "0.1.1";
src = fetchurl {
url = "mirror://sourceforge/fsfs/fsfs-0.1.1.tar.gz";
url = "mirror://sourceforge/fsfs/fsfs-${version}.tar.gz";
sha256 = "05wka9aq182li2r7gxcd8bb3rhpns7ads0k59v7w1jza60l57c74";
};

View File

@ -1,10 +1,11 @@
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation {
name = "genext2fs-1.4.1";
stdenv.mkDerivation rec {
pname = "genext2fs";
version = "1.4.1";
src = fetchurl {
url = "mirror://sourceforge/genext2fs/genext2fs-1.4.1.tar.gz";
url = "mirror://sourceforge/genext2fs/genext2fs-${version}.tar.gz";
sha256 = "1z7czvsf3ircvz2cw1cf53yifsq29ljxmj15hbgc79l6gbxbnka0";
};

View File

@ -2,10 +2,11 @@
, docbook_xml_dtd_45, docbook_xsl , libxml2, libxslt }:
stdenv.mkDerivation rec {
name = "httpfs2-0.1.5";
pname = "httpfs2";
version = "0.1.5";
src = fetchurl {
url = "mirror://sourceforge/httpfs/httpfs2/${name}.tar.gz";
url = "mirror://sourceforge/httpfs/httpfs2/httpfs2-${version}.tar.gz";
sha256 = "1h8ggvhw30n2r6w11n1s458ypggdqx6ldwd61ma4yd7binrlpjq1";
};

View File

@ -1,10 +1,11 @@
{ lib, stdenv, fetchurl, fetchpatch, libuuid, autoreconfHook }:
stdenv.mkDerivation rec {
name = "jfsutils-1.1.15";
pname = "jfsutils";
version = "1.1.15";
src = fetchurl {
url = "http://jfs.sourceforge.net/project/pub/${name}.tar.gz";
url = "http://jfs.sourceforge.net/project/pub/jfsutils-${version}.tar.gz";
sha256 = "0kbsy2sk1jv4m82rxyl25gwrlkzvl3hzdga9gshkxkhm83v1aji4";
};

View File

@ -1,7 +1,8 @@
{ lib, stdenv, fetchurl, pkg-config, fuse, libmtp, glib, libmad, libid3tag }:
stdenv.mkDerivation rec {
name = "mtpfs-1.1";
pname = "mtpfs";
version = "1.1";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ fuse libmtp glib libid3tag libmad ];
@ -14,7 +15,7 @@ stdenv.mkDerivation rec {
'';
src = fetchurl {
url = "https://www.adebenham.com/files/mtp/${name}.tar.gz";
url = "https://www.adebenham.com/files/mtp/mtpfs-${version}.tar.gz";
sha256 = "07acrqb17kpif2xcsqfqh5j4axvsa4rnh6xwnpqab5b9w5ykbbqv";
};

View File

@ -4,10 +4,11 @@
}:
stdenv.mkDerivation rec {
name = "netatalk-3.1.12";
pname = "netatalk";
version = "3.1.12";
src = fetchurl {
url = "mirror://sourceforge/netatalk/netatalk/${name}.tar.bz2";
url = "mirror://sourceforge/netatalk/netatalk/netatalk-${version}.tar.bz2";
sha256 = "1ld5mnz88ixic21m6f0xcgf8v6qm08j6xabh1dzfj6x47lxghq0m";
};