nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 27 lines 571 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation (finalAttrs: { 8 pname = "mlocate"; 9 version = "0.26"; 10 11 src = fetchurl { 12 url = "https://releases.pagure.org/mlocate/mlocate-${finalAttrs.version}.tar.xz"; 13 hash = "sha256-MGPfef4Zj7lhjhgMVLrzEFsz2I/mAv8thXCq+UTxJj4="; 14 }; 15 16 makeFlags = [ 17 "dbfile=/var/cache/locatedb" 18 ]; 19 20 meta = { 21 description = "Utility to index and quickly search for files"; 22 homepage = "https://pagure.io/mlocate"; 23 license = lib.licenses.gpl2Only; 24 platforms = lib.platforms.linux; 25 maintainers = [ ]; 26 }; 27})