lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.11-beta 46 lines 1.2 kB view raw
1{ callPackage 2, lib 3, stdenv 4, fetchurl 5, nixos 6, testers 7, hello 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 pname = "hello"; 12 version = "2.12.1"; 13 14 src = fetchurl { 15 url = "mirror://gnu/hello/hello-${finalAttrs.version}.tar.gz"; 16 sha256 = "sha256-jZkUKv2SV28wsM18tCqNxoCZmLxdYH2Idh9RLibH2yA="; 17 }; 18 19 doCheck = true; 20 21 passthru.tests = { 22 version = testers.testVersion { package = hello; }; 23 24 invariant-under-noXlibs = 25 testers.testEqualDerivation 26 "hello must not be rebuilt when environment.noXlibs is set." 27 hello 28 (nixos { environment.noXlibs = true; }).pkgs.hello; 29 }; 30 31 passthru.tests.run = callPackage ./test.nix { hello = finalAttrs.finalPackage; }; 32 33 meta = with lib; { 34 description = "A program that produces a familiar, friendly greeting"; 35 longDescription = '' 36 GNU Hello is a program that prints "Hello, world!" when you run it. 37 It is fully customizable. 38 ''; 39 homepage = "https://www.gnu.org/software/hello/manual/"; 40 changelog = "https://git.savannah.gnu.org/cgit/hello.git/plain/NEWS?h=v${finalAttrs.version}"; 41 license = licenses.gpl3Plus; 42 maintainers = [ maintainers.eelco ]; 43 mainProgram = "hello"; 44 platforms = platforms.all; 45 }; 46})