2023-01-11 07:51:40 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wslu";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "4.1.1";
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wslutilities";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-01-20 10:41:00 +00:00
|
|
|
hash = "sha256-yhugh836BoSISbTu19ubLOrz5X31Opu5QtCR0DXrbWc=";
|
2021-05-28 09:39:13 +00:00
|
|
|
};
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
makeFlags = [
|
|
|
|
"DESTDIR=$(out)"
|
|
|
|
"PREFIX="
|
|
|
|
];
|
2021-05-28 09:39:13 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2023-01-20 10:41:00 +00:00
|
|
|
description = "A collection of utilities for Windows Subsystem for Linux";
|
2021-05-28 09:39:13 +00:00
|
|
|
homepage = "https://github.com/wslutilities/wslu";
|
2023-01-11 07:51:40 +00:00
|
|
|
changelog = "https://github.com/wslutilities/wslu/releases/tag/v${version}";
|
2021-05-28 09:39:13 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ jamiemagee ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|