mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-14 17:04:42 +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.
19 lines
577 B
Nix
19 lines
577 B
Nix
{ lib, stdenv, fetchurl }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "safefile";
|
|
version = "1.0.5";
|
|
|
|
src = fetchurl {
|
|
url = "http://research.cs.wisc.edu/mist/${pname}/releases/${pname}-${version}.tar.gz";
|
|
sha256 = "1y0gikds2nr8jk8smhrl617njk23ymmpxyjb2j1xbj0k82xspv78";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "File open routines to safely open a file when in the presence of an attack";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ raskin ];
|
|
platforms = platforms.all;
|
|
homepage = "https://research.cs.wisc.edu/mist/safefile/";
|
|
};
|
|
}
|