utillinux: no-rebuild clean up

This commit is contained in:
Jan Tojnar 2019-12-25 05:10:48 +01:00
parent 4ed50bdd93
commit 760be1f4b2
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

@ -1,18 +1,12 @@
{ lib, stdenv, fetchurl, pkgconfig, zlib, shadow
, ncurses ? null, perl ? null, pam, systemd ? null, minimal ? false }:
let
version = lib.concatStringsSep "." ([ majorVersion ]
++ lib.optional (patchVersion != "") patchVersion);
majorVersion = "2.33";
patchVersion = "2";
in stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "util-linux";
inherit version;
version = "2.33.2";
src = fetchurl {
url = "mirror://kernel/linux/utils/util-linux/v${majorVersion}/${pname}-${version}.tar.xz";
url = "mirror://kernel/linux/utils/util-linux/v${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "15yf2dh4jd1kg6066hydlgdhhs2j3na13qld8yx30qngqvmfh6v3";
};