Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at github-to-sqlite-beautifulsoup4 34 lines 960 B view raw
1{ lib 2, stdenvNoCC 3, fetchurl 4}: 5stdenvNoCC.mkDerivation (finalAttrs: { 6 pname = "softnet"; 7 version = "0.7.1"; 8 9 src = fetchurl { 10 url = "https://github.com/cirruslabs/softnet/releases/download/${finalAttrs.version}/softnet.tar.gz"; 11 sha256 = "1g274x524xc85hfzxi3vb4xp720bjgk740bp6hc92d1ikmp0b664"; 12 }; 13 sourceRoot = "."; 14 15 installPhase = '' 16 runHook preInstall 17 18 install -D softnet $out/bin/softnet 19 install -Dm444 -t $out/share/softnet README.md LICENSE 20 21 runHook postInstall 22 ''; 23 24 meta = with lib; { 25 description = "Software networking with isolation for Tart"; 26 homepage = "https://github.com/cirruslabs/softnet"; 27 license = licenses.agpl3Plus; 28 maintainers = with maintainers; [ emilytrau ]; 29 platforms = [ "aarch64-darwin" ]; 30 # Source build will be possible after darwin SDK 12.0 bump 31 # https://github.com/NixOS/nixpkgs/pull/229210 32 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 33 }; 34})