mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
treewide: use pname&version instead of name
This commit is contained in:
parent
e5a24a242d
commit
b5e0221e44
@ -5,14 +5,16 @@
|
||||
, klibc
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "v86d-${version}-${kernel.version}";
|
||||
version = "0.1.10";
|
||||
let
|
||||
pversion = "0.1.10";
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "v86d";
|
||||
version = "${pversion}-${kernel.version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mjanusz";
|
||||
repo = "v86d";
|
||||
rev = "v86d-${version}";
|
||||
rev = "v86d-${pversion}";
|
||||
hash = "sha256-95LRzVbO/DyddmPwQNNQ290tasCGoQk7FDHlst6LkbA=";
|
||||
};
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchFromGitHub, kernel, lib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "vendor-reset-${version}-${kernel.version}";
|
||||
version = "unstable-2021-02-16";
|
||||
pname = "vendor-reset";
|
||||
version = "unstable-2021-02-16-${kernel.version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gnif";
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ stdenv, virtualbox, kernel }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "virtualbox-modules-${virtualbox.version}-${kernel.version}";
|
||||
pname = "virtualbox-modules";
|
||||
version = "${virtualbox.version}-${kernel.version}";
|
||||
src = virtualbox.modsrc;
|
||||
hardeningDisable = [
|
||||
"fortify" "pic" "stackprotector"
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ lib, stdenv, kernel }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "x86_energy_perf_policy-${kernel.version}";
|
||||
pname = "x86_energy_perf_policy";
|
||||
version = kernel.version;
|
||||
|
||||
src = kernel.src;
|
||||
|
||||
|
@ -23,8 +23,9 @@ let
|
||||
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "openafs-${version}-${kernel.modDirVersion}";
|
||||
inherit version src;
|
||||
pname = "openafs";
|
||||
version = "${version}-${kernel.modDirVersion}";
|
||||
inherit src;
|
||||
|
||||
nativeBuildInputs = [ autoconf automake flex libtool_2 perl which bison ]
|
||||
++ kernel.moduleBuildDependencies;
|
||||
|
@ -10,8 +10,9 @@ let
|
||||
kernelBuildDir = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "openafs-${version}-${kernel.modDirVersion}";
|
||||
inherit version src;
|
||||
pname = "openafs";
|
||||
version = "${version}-${kernel.modDirVersion}";
|
||||
inherit src;
|
||||
|
||||
nativeBuildInputs = [ autoconf automake flex libtool_2 perl which bison ]
|
||||
++ kernel.moduleBuildDependencies;
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "zsh-better-npm-completion";
|
||||
pname = "zsh-better-npm-completion";
|
||||
version = "unstable-2019-11-19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -1,10 +1,8 @@
|
||||
{ lib, stdenv, fetchFromGitHub, perl }:
|
||||
|
||||
let
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "deer";
|
||||
version = "1.4";
|
||||
name = "deer-${version}";
|
||||
in stdenv.mkDerivation {
|
||||
inherit name;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Vifon";
|
||||
|
Loading…
Reference in New Issue
Block a user