mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-05 19:53:43 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
25 lines
689 B
Nix
25 lines
689 B
Nix
{ lib, stdenv, fetchurl, imake, gccmakedep, libX11, libXext, libXmu }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "larswm";
|
|
version = "7.5.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/larswm/larswm-${version}.tar.gz";
|
|
sha256 = "1xmlx9g1nhklxjrg0wvsya01s4k5b9fphnpl9zdwp29mm484ni3v";
|
|
};
|
|
|
|
nativeBuildInputs = [ imake gccmakedep ];
|
|
buildInputs = [ libX11 libXext libXmu ];
|
|
|
|
makeFlags = [ "BINDIR=$(out)/bin" "MANPATH=$(out)/share/man" ];
|
|
installTargets = [ "install" "install.man" ];
|
|
|
|
meta = {
|
|
homepage = "http://www.fnurt.net/larswm";
|
|
description = "9wm-like tiling window manager";
|
|
license = lib.licenses.free;
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|