mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
39 lines
905 B
Nix
39 lines
905 B
Nix
{ fetchurl, lib, stdenv, pkg-config, fuse, openssl, asciidoc
|
|
, docbook_xml_dtd_45, docbook_xsl , libxml2, libxslt }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "httpfs2";
|
|
version = "0.1.5";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/httpfs/httpfs2/httpfs2-${version}.tar.gz";
|
|
sha256 = "1h8ggvhw30n2r6w11n1s458ypggdqx6ldwd61ma4yd7binrlpjq1";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs =
|
|
[ fuse openssl
|
|
asciidoc docbook_xml_dtd_45 docbook_xsl libxml2 libxslt
|
|
];
|
|
|
|
installPhase = ''
|
|
mkdir -p "$out/bin"
|
|
cp -v httpfs2 "$out/bin"
|
|
|
|
mkdir -p "$out/share/man/man1"
|
|
cp -v *.1 "$out/share/man/man1"
|
|
'';
|
|
|
|
meta = {
|
|
description = "FUSE-based HTTP filesystem for Linux";
|
|
mainProgram = "httpfs2";
|
|
|
|
homepage = "https://httpfs.sourceforge.net/";
|
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.unix;
|
|
maintainers = [ ];
|
|
};
|
|
}
|