nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 27 lines 593 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5}: 6 7stdenv.mkDerivation (finalAttrs: { 8 pname = "userhosts"; 9 version = "1.0.0"; 10 11 src = fetchFromGitHub { 12 owner = "figiel"; 13 repo = "hosts"; 14 rev = "v${finalAttrs.version}"; 15 hash = "sha256-9uF0fYl4Zz/Ia2UKx7CBi8ZU8jfWoBfy2QSgTSwXo5A"; 16 }; 17 18 installFlags = [ "PREFIX=$(out)" ]; 19 20 meta = { 21 description = "Libc wrapper providing per-user hosts file"; 22 homepage = "https://github.com/figiel/hosts"; 23 maintainers = [ lib.maintainers.bobvanderlinden ]; 24 license = lib.licenses.cc0; 25 platforms = lib.platforms.linux; 26 }; 27})